org.ozoneDB.xml.dom
Class ProcessingInstructionImpl
java.lang.Object
|
+--org.ozoneDB.OzoneObject
|
+--org.ozoneDB.xml.dom.NodeImpl
|
+--org.ozoneDB.xml.dom.ProcessingInstructionImpl
- All Implemented Interfaces:
- java.io.Externalizable, org.w3c.dom.Node, NodeProxy, org.ozoneDB.OzoneCompatible, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, org.w3c.dom.ProcessingInstruction, ProcessingInstructionProxy, java.io.Serializable
- public final class ProcessingInstructionImpl
- extends NodeImpl
- implements ProcessingInstructionProxy
Implements a processing instruction. The target and data of the processing
instruction are mapped into the name and value of the node.
Notes:
- Node type is
Node.PROCESSING_INSTRUCTION_NODE
- Node does not support childern
- Version:
- $Revision: 1.1 $ $Date: 2001/12/18 11:03:24 $
- Author:
- Assaf Arkin
- See Also:
ProcessingInstruction
,
NodeImpl
,
Serialized Form
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 |
Methods inherited from class org.ozoneDB.xml.dom.NodeImpl |
appendChild, castNewChild, castOldChild, cloneInto, getAttributes, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, init, insertBefore, isReadOnly, isSupported, normalize, notifyIterators, readExternal, removeChild, replaceChild, setNextSibling, setNodeName, setNodeValue, setOwnerDocument, setParentNode, setPrefix, setPreviousSibling, setReadOnly, supports, writeExternal |
Methods inherited from class org.ozoneDB.OzoneObject |
container, database, deleteRecursive, getObjectID, handle, hashCode, onCreate, onDelete, self, setContainer, toXML |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy |
getObjectID |
Methods inherited from interface org.w3c.dom.Node |
appendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.ozoneDB.xml.dom.NodeProxy |
cloneInto, getChild, getChildCount, getChildNodes, init, isReadOnly, setNextSibling, setNodeName, setOwnerDocument, setParentNode, setPreviousSibling, setReadOnly |
ProcessingInstructionImpl
public ProcessingInstructionImpl(DocumentImpl owner,
java.lang.String target,
java.lang.String data)
- Hidden constructor.
- Parameters:
owner
- The owner of this documenttarget
- The processing instruction target
ProcessingInstructionImpl
public ProcessingInstructionImpl()
getNodeType
public short getNodeType()
- Description copied from class:
NodeImpl
- Abstract method must be implemented by each node class.
- Specified by:
getNodeType
in interface org.w3c.dom.Node
- Specified by:
getNodeType
in class NodeImpl
- See Also:
Node.getNodeType()
getTarget
public java.lang.String getTarget()
- Specified by:
getTarget
in interface org.w3c.dom.ProcessingInstruction
getData
public java.lang.String getData()
- Specified by:
getData
in interface org.w3c.dom.ProcessingInstruction
setData
public void setData(java.lang.String data)
throws org.w3c.dom.DOMException
- Specified by:
setData
in interface org.w3c.dom.ProcessingInstruction
org.w3c.dom.DOMException
clone
public final java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
cloneNode
public final org.w3c.dom.Node cloneNode(boolean deep)
- Specified by:
cloneNode
in interface org.w3c.dom.Node
toString
public java.lang.String toString()
- Overrides:
toString
in class org.ozoneDB.OzoneObject
supportsChildern
protected final boolean supportsChildern()
- Overrides:
supportsChildern
in class NodeImpl
init
public void init(DocumentProxy owner,
java.lang.String target,
java.lang.String data)
- Specified by:
init
in interface ProcessingInstructionProxy
Copyright © 2002 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.