|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.xml.parser.v2.XMLComment
This class implements the DOM Comment interface.
Comment
, NodeFactory
, DOMParser.setNodeFactory(oracle.xml.parser.v2.NodeFactory)
, Serialized FormFields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
XMLComment() Deprecated. use createComment(String) method of XMLDocument |
|
XMLComment(java.lang.String text) Deprecated. use createComment(String) method of XMLDocument |
Method Summary | |
XMLNode |
addText(java.lang.String str) |
java.lang.String |
getNodeName() Gets a name of the node |
short |
getNodeType() Gets a code representing the type of the underlying object |
void |
readExternal(java.io.ObjectInput inArg) This method reads the information written in the compressed stream by writeExternal method and restores the object correspondingly. |
void |
readExternal(oracle.xml.io.XMLObjectInput in, oracle.xml.comp.CXMLContext cxmlContext) This method reads the information written in the compressed stream by writeExternal method and restores the object correspondingly. |
void |
reportSAXEvents(ContentHandler cntHandler) Report SAX Events from a DOM Tree |
void |
writeExternal(java.io.ObjectOutput outArg) This method saves the state of the object by creating a binray compressed stream with information about this object. |
Constructor Detail |
public XMLComment()
public XMLComment(java.lang.String text)
text
- Text of the comment nodeMethod Detail |
public java.lang.String getNodeName()
public short getNodeType()
public XMLNode addText(java.lang.String str)
public void reportSAXEvents(ContentHandler cntHandler) throws SAXException
ContentHandler
- cntHandlerpublic void writeExternal(java.io.ObjectOutput outArg) throws java.io.IOException
out
- is the ObjectOutput stream used to write the compressed stream.public void readExternal(java.io.ObjectInput inArg) throws java.io.IOException, java.lang.ClassNotFoundException
in
- The ObjectInput stream used for reading the compressed streampublic void readExternal(oracle.xml.io.XMLObjectInput in, oracle.xml.comp.CXMLContext cxmlContext) throws java.io.IOException, java.lang.ClassNotFoundException
in
- The XMLObjectInput stream used for reading the compressed stream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.