Xindice API
version 1.2m1

org.apache.xindice.xml.dom
Class EntityImpl

java.lang.Object
  extended byorg.apache.xindice.xml.dom.NodeImpl
      extended byorg.apache.xindice.xml.dom.EntityImpl
All Implemented Interfaces:
CompressedNode, DBNode, org.w3c.dom.Entity, org.w3c.dom.Node

public final class EntityImpl
extends NodeImpl
implements org.w3c.dom.Entity

EntityImpl

Version:
$Revision: 571948 $, $Date: 2007-09-02 06:51:37 -0400 (Sun, 02 Sep 2007) $

Field Summary
 
Fields inherited from class org.apache.xindice.xml.dom.NodeImpl
data, dirty, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, EX_DOMSTRING_SIZE, EX_HIERARCHY_REQUEST, EX_INDEX_SIZE, EX_INUSE_ATTRIBUTE, EX_INVALID_STATE, EX_NO_DATA_ALLOWED, EX_NO_MODIFICATION_ALLOWED, EX_NOT_FOUND, EX_WRONG_DOCUMENT, handlers, key, len, loaded, nodeName, nodeValue, nsURI, OBJECT_HREF, OBJECT_NS, OBJECT_TYPE, ownerDocument, parentNode, pos, source, TYPE_APPEND, TYPE_CONTENT, TYPE_INSERT, TYPE_REPLACE, userData, XMLNS_PREFIX, XMLNS_URI
 
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
EntityImpl()
           
EntityImpl(NodeImpl parent, boolean dirty)
           
EntityImpl(NodeImpl parent, byte[] data, int pos, int len)
           
 
Method Summary
 String getInputEncoding()
           
 short getNodeType()
          A code representing the type of the underlying object, as defined above.
 String getNotationName()
          For unparsed entities, the name of the notation for the entity.
 String getPublicId()
          The public identifier associated with the entity, if specified.
 String getSystemId()
          The system identifier associated with the entity, if specified.
 String getXmlEncoding()
           
 String getXmlVersion()
           
 void setEncoding(String encoding)
           
 void setInputEncoding(String inputEncoding)
           
 void setXmlVersion(String version)
           
 
Methods inherited from class org.apache.xindice.xml.dom.NodeImpl
appendChild, checkLoaded, checkReadOnly, cloneNode, cloneNode, compareDocumentPosition, expandSource, getAttributes, getBaseURI, getChildNodes, getDataBytes, getDataLen, getDataPos, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getPreviousSibling, getSource, getSymbolID, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, invokeHandlers, invokeHandlers, isDefaultNamespace, isDefined, isDirty, isEqualNode, isLoaded, isSameNode, isSupported, load, lookupDefaultNamespaceURI, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setDataBytes, setDataBytes, setDataLen, setDataPos, setDirty, setNodeName, setNodeValue, setParentNode, setPrefix, setSource, setTextContent, setUserData, toString, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Constructor Detail

EntityImpl

public EntityImpl()

EntityImpl

public EntityImpl(NodeImpl parent,
                  byte[] data,
                  int pos,
                  int len)

EntityImpl

public EntityImpl(NodeImpl parent,
                  boolean dirty)
Method Detail

getNodeType

public short getNodeType()
Description copied from class: NodeImpl
A code representing the type of the underlying object, as defined above.

Specified by:
getNodeType in interface org.w3c.dom.Node
Specified by:
getNodeType in class NodeImpl

getPublicId

public String getPublicId()
The public identifier associated with the entity, if specified. If the public identifier was not specified, this is null.

Specified by:
getPublicId in interface org.w3c.dom.Entity

getSystemId

public String getSystemId()
The system identifier associated with the entity, if specified. If the system identifier was not specified, this is null.

Specified by:
getSystemId in interface org.w3c.dom.Entity

getNotationName

public String getNotationName()
For unparsed entities, the name of the notation for the entity. For parsed entities, this is null.

Specified by:
getNotationName in interface org.w3c.dom.Entity

getInputEncoding

public String getInputEncoding()

getXmlEncoding

public String getXmlEncoding()

getXmlVersion

public String getXmlVersion()

setEncoding

public void setEncoding(String encoding)

setInputEncoding

public void setInputEncoding(String inputEncoding)

setXmlVersion

public void setXmlVersion(String version)

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.