|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.xml.parser.v2.XMLNode | +--oracle.xml.parser.v2.XMLNSNode | +--oracle.xml.parser.v2.XMLEntity
This class implements the DOM Entity
interface and represens
an XML internal or external entity as defined in the XML
Document Type Definition (DTD).
Fields inherited from interface oracle.xml.comp.CXMLConstants |
ATTR_DEF,
ATTR_TOKEN,
ATTRDECL_DEF,
CDATA_DEF,
CHAR_DEF,
COMMENT_DEF,
CXML_VERSION,
cXMLFILE,
cXMLFILE_LEN,
DEBUG,
DTD_DEF,
ELEMENTDECL_DEF,
END,
ENTITY_DEF,
ENTITYREF_DEF,
META_ID_MAX,
names,
NOTATION_DEF,
NS_DEF,
NULLSTR,
PI_DEF,
PREFIX_DEF,
TAG_DEF,
TAG_TOKEN,
TOKEN_ONLY,
XMLDECL_DEF |
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 |
Constructor Summary | |
XMLEntity()
Default constructor. |
Method Summary | |
Node |
cloneNode(boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. |
short |
getNodeType()
Gets a code representing the type of the underlying object |
java.lang.String |
getNodeValue()
Gets the value of this node, depending on its type |
java.lang.String |
getNotationName()
For unparsed entities, gets the name of the notation for the entity. |
java.lang.String |
getPublicId()
Gets the public identifier associated with the entity, if specified. |
java.lang.String |
getSystemId()
Gets the system identifier associated with the entity, if specified. |
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 content of XMLEntity |
void |
setNodeValue(java.lang.String arg)
Sets the value of entity. |
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. |
Methods inherited from class oracle.xml.parser.v2.XMLNSNode |
addText,
addText,
appendChild,
getChildNodes,
getFirstChild,
getLastChild,
getLocalName,
getNamespaceURI,
getNodeLocalName,
getNodeName,
getNodePrefix,
getPrefix,
getText,
hasChildNodes,
insertBefore,
normalize,
removeChild,
replaceChild,
setPrefix |
Methods inherited from class oracle.xml.parser.v2.XMLNode |
addEventListener,
dispatchEvent,
getAttributes,
getColumnNumber,
getDebugMode,
getLineNumber,
getNamespace,
getNextSibling,
getOwnerDocument,
getParentNode,
getPreviousSibling,
getProperty,
hasAttributes,
isNodeFlag,
isSupported,
print,
print,
print,
readChildNodes,
removeEventListener,
reportSAXEvents,
resetNodeFlag,
selectNodes,
selectNodes,
selectNodes,
selectSingleNode,
selectSingleNode,
setDebugInfo,
setNodeFlag,
setProperty,
supports,
transformNode,
valueOf,
valueOf |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public XMLEntity()
Method Detail |
public short getNodeType()
public java.lang.String getNodeValue() throws DOMException
DOMString
variable on the implementation
platform.public java.lang.String getPublicId()
null
.public java.lang.String getSystemId()
null
.public java.lang.String getNotationName()
null
.public Node cloneNode(boolean deep)
parentNode
returns null
.).
Element
copies all attributes and their
values, including those generated by the XML processor to represent
defaulted attributes, but this method does not copy any text it contains
unless it is a deep clone, since the text is contained in a child
Text
node. Cloning any other type of node simply returns a
copy of this node.deep
- If true
, recursively clone the subtree under the
specified node; if false
, clone only the node itself (and
its attributes, if it is an Element
).public void setNodeValue(java.lang.String arg)
arg
- The new value of the entity.public void writeExternal(java.io.ObjectOutput outArg) throws java.io.IOException
out
- The ObjectOutput stream used to write the serialized/
compressed stream.public void readExternal(java.io.ObjectInput inArg) throws java.io.IOException, java.lang.ClassNotFoundException, java.io.EOFException
in
- the ObjectInput stream used for reading the compressed
stream.public void readExternal(oracle.xml.io.XMLObjectInput in, oracle.xml.comp.CXMLContext cxmlContext) throws java.io.IOException, java.lang.ClassNotFoundException
in
- XMLObjectInput the input streaminp
- the byte which is already read is passed to this functioncxmlContext
- the serialization object content information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |