|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.xml.DOMComponents
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
DEBUG
|
private Document |
doc
|
static long |
EXTERNALIZATION_VERSION_UID
|
private Node |
node
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private Stack |
stack
|
Fields inherited from interface wt.util.xml.XMLMechanismConstants |
ATTLIST_ATTRIBUTE_NAME, ATTLIST_CLASS_NAME, ATTLIST_ENCODING_TYPE, ATTLIST_OID, DEFAULT_XML_PARSER_IMPLEMENTATION, DOCUMENT_ELEMENT_NAME, SELF_DESCRIBING_XML, XML_FILE_EXT |
Constructor Summary | |
DOMComponents()
|
Method Summary | |
void |
addCDATASection(String text)
Appends a CDATA_SECTION_NODE. |
void |
documentBegin()
Initializes a new instance of org.w3c.dom.Document. |
void |
documentElementBegin(String name)
Appends a document element to an org.w3c.dom.Document. |
void |
elementBegin(boolean root,
String name)
Pushes the node stack and appends an element. |
void |
elementEnd()
Pops the node stack. |
Document |
getDoc()
Gets the value of the attribute: doc. |
Node |
getNode()
Gets the value of the attribute: node. |
Stack |
getStack()
Gets the value of the attribute: stack. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(DOMComponents thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setDoc(Document a_Doc)
Sets the value of the attribute: doc. |
void |
setNode(Node a_Node)
Sets the value of the attribute: node. |
void |
setStack(Stack a_Stack)
Sets the value of the attribute: stack. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Stack stack
private Document doc
private Node node
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final boolean DEBUG
Constructor Detail |
public DOMComponents()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(DOMComponents thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public Stack getStack()
public void setStack(Stack a_Stack)
a_Stack
- public Document getDoc()
public void setDoc(Document a_Doc)
a_Doc
- public Node getNode()
public void setNode(Node a_Node)
a_Node
- public void documentBegin() throws XMLMechanismException
XMLMechanismException
public void elementBegin(boolean root, String name)
root
- True if the element is for the class whose instances are being exported.name
- The element name.public void elementEnd()
public void documentElementBegin(String name)
name
- The name of the document element.public void addCDATASection(String text)
text
- Text to be included in the CDATA section.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |