| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--oracle.xml.parser.v2.XMLNode
        |
        +--oracle.xml.parser.v2.CharData
              |
              +--oracle.xml.parser.v2.XMLPI
                    |
                    +--oracle.xml.parser.v2.XMLDeclPI
This class implements the XML Decl Processing Instruction.
ProcessingInstruction, Serialized Form| Field Summary | 
| Fields 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 | 
| Fields inherited from interface org.w3c.dom.validation.NodeEditVAL | 
| VAL_FALSE, VAL_INCOMPLETE, VAL_NS_WF, VAL_SCHEMA, VAL_TRUE, VAL_UNKNOWN, VAL_WF | 
| Constructor Summary | |
| XMLDeclPI() | |
| XMLDeclPI(java.lang.String version, java.lang.String encoding, java.lang.String standalone, boolean textDecl) | |
| Method Summary | |
|  java.lang.String | getData()Returns the fully constructed string 'version=1.0 ....' | 
|  java.lang.String | getEncoding()Retrieves the character encoding information. | 
|  java.lang.String | getNodeValue()Gets the value of this node | 
|  java.lang.String | getStandalone()Retrieves the standalone information. | 
|  java.lang.String | getVersion()Retrieves the version information. | 
|  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 | setEncoding(java.lang.String encoding)Sets the character encoding for output. | 
|  boolean | setStandalone(java.lang.String value)Sets the standalone information stored in the <? | 
|  void | setVersion(java.lang.String version)Sets the version number stored in the <? | 
|  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. | 
| Methods inherited from class oracle.xml.parser.v2.XMLPI | 
| addText, appendData, canAppendData, canDeleteData, canInsertData, canReplaceData, canSetData, deleteData, getLength, getNodeName, getNodeType, getTarget, insertData, isWhitespaceOnly, nodeValidity, replaceData, reportSAXEvents, setData, setNodeValue, substringData | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.w3c.dom.ProcessingInstruction | 
| setData | 
| Methods inherited from interface org.w3c.dom.Node | 
| appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix | 
| Methods inherited from interface org.w3c.dom.validation.NodeEditVAL | 
| canAppendChild, canInsertBefore, canRemoveChild, canReplaceChild, getDefaultValue, getEnumeratedValues, nodeValidity | 
| Constructor Detail | 
public XMLDeclPI()
public XMLDeclPI(java.lang.String version,
                 java.lang.String encoding,
                 java.lang.String standalone,
                 boolean textDecl)
 
| Method Detail | 
public java.lang.String getData()
                         throws DOMException
getData in interface ProcessingInstructiongetData in class oracle.xml.parser.v2.CharDataDOMException - DOMSTRING_SIZE_ERR: Raised when it would return more characters than fit in a DOMString variable on the implementation platform.
public java.lang.String getNodeValue()
                              throws DOMException
getNodeValue in interface NodegetNodeValue in class oracle.xml.parser.v2.CharDataDOMException - DOMSTRING_SIZE_ERR: Raised when it would return more characters than fit in a DOMString variable on the implementationpublic final java.lang.String getVersion()
public final void setVersion(java.lang.String version)
version - The version information to set.public final java.lang.String getEncoding()
public final void setEncoding(java.lang.String encoding)
encoding - The character encoding to setpublic final java.lang.String getStandalone()
public final boolean setStandalone(java.lang.String value)
value - The attribute value ('yes' or 'no').
public void writeExternal(java.io.ObjectOutput outArg)
                   throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class XMLPIoutArg - is the ObjectOutput stream used to write the compressed stream.java.io.IOException - is thrown when there is an exception while writing the compressed stream.
public void readExternal(java.io.ObjectInput inArg)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class XMLPIinArg - The ObjectInput stream used for reading the compressed streamjava.io.IOException - is thrown when there is an error in reading the input stream.java.lang.ClassNotFoundException - is thrown when the class is not found| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||