|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.xml.parser.v2.XMLPI
This class implements the DOM Processing Instruction interface.
ProcessingInstruction
, 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 | |
XMLPI() Deprecated. use createProcessingInstruction(String) method of XMLDocument |
|
XMLPI(java.lang.String target, java.lang.String data) Deprecated. see createProcessingInstruction(String) of XMLDocument |
Method Summary | |
XMLNode |
addText(java.lang.String str) |
java.lang.String |
getNodeName() Gets the name of the PI |
short |
getNodeType() Gets a code representing the type of the underlying object |
java.lang.String |
getTarget() Returns the target of this PI. |
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 binary compressed stream with information about this object. |
Constructor Detail |
public XMLPI()
public XMLPI(java.lang.String target, java.lang.String data)
target
- The target of this PIdata
- The content of this PIMethod Detail |
public java.lang.String getNodeName()
public short getNodeType()
public java.lang.String getTarget()
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.