|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.xnode.convert.XNodeImporter
org.ceryle.xnode.convert.XNodeImporter1_2
public class XNodeImporter1_2
An implementation of XNodeImporter as a utility for importing from XNode version 1.2 Documents to that of the current version.
Copyright 2001-2007 Murray Altheim. All Rights Reserved.
See LICENSE included with distribution.
| Field Summary |
|---|
| Fields inherited from class org.ceryle.xnode.convert.XNodeImporter |
|---|
m_doc, m_xnf, m_xns, mh, srvs |
| Constructor Summary | |
|---|---|
XNodeImporter1_2()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
convertProperty(XNode xnode,
String name,
String value)
Converts an XNode 1.1 property name to its current (XNode 1.2) incarnation, setting the new property name and value on the provided XNode. |
String |
getVersion()
Returns a string identifier for the XNode version this XNodeImporter is designed to import. |
XNode |
importXNode(Document doc)
Returns an XNode provided a DOM Document doc. |
| Methods inherited from class org.ceryle.xnode.convert.XNodeImporter |
|---|
getDocument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XNodeImporter1_2()
| Method Detail |
|---|
public XNode importXNode(Document doc)
throws XNodeException
importXNode in class XNodeImporterdoc - the DOM Document to be processed as XNode content.
XNodeException - if an error occurs during recreation.
public void convertProperty(XNode xnode,
String name,
String value)
throws XNodeException
XNodeExceptionpublic String getVersion()
getVersion in class XNodeImporter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||