|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.xml.parser.v2.XMLPI | +--oracle.xml.parser.v2.XMLDeclPI
This class implements the XML Decl Processing Instruction.
ProcessingInstruction
, Serialized FormConstructor Summary |
XMLDeclPI()
|
XMLDeclPI(java.lang.String version,
java.lang.String encoding,
java.lang.String standalone,
boolean textDecl)
|
Method Summary |
Type | Method |
---|---|
Node |
cloneNode(boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy |
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()
The value of this node, depending on its type; see the table above. |
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 |
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 |
setEncoding(java.lang.String encoding)
Sets the character encoding for output. |
boolean |
setStandalone(java.lang.String value)
Sets the standalone information stored in the <?xml ...?> tag. |
void |
setVersion(java.lang.String version)
Sets the version number stored in the <?xml ...?> tag. |
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,
getNodeName,
getNodeType,
getTarget,
reportSAXEvents |
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
DOMString
variable on the implementation
platform.public java.lang.String getNodeValue() throws DOMException
null
, setting it has no effect.DOMString
variable on the implementation
platform.public 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 Node cloneNode(boolean deep)
public 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 |