| org.ozoneDB.xml.dom.NodeImpl org.ozoneDB.xml.dom.EntityImpl
Method Summary | |
final public Object | clone() | public synchronized void | cloneInto(NodeProxy into, boolean deep) | final public Node | cloneNode(boolean deep) | public synchronized boolean | equals(Object other) | final public String | getInternal() | public short | getNodeType() | public String | getNotationName() | public String | getPublicId() | public short | getState() Returns the parsing state of this entity. | public String | getSystemId() | public void | init(DocumentProxy owner, String name) | public void | init(DocumentProxy owner, String name, String value) | public void | init(DocumentProxy owner, String name, String systemId, String publicId) | public void | init(DocumentProxy owner, String name, String systemId, String publicId, String notation) | public boolean | isInternal() Returns true if entity is an internal general entity. | public boolean | isUnparsed() Returns true if entity is an unparsed general entity. | public void | readExternal(ObjectInput in) | public void | setInternal(String internalValue) | final public void | setNodeValue(String value) | public void | setNotationName(String notation) | public void | setPublicId(String publicId) | public void | setState(short newState) Changes the parsing state of this entity. | public void | setSystemId(String systemId) | final protected boolean | supportsChildern() | public String | toString() | public void | writeExternal(ObjectOutput out) |
STATE_DECLARED | final public static short STATE_DECLARED(Code) | | Entity has been declared but not parsed. This is the initial state for
an entity after it has been declared in the DTD but before it is used
in the document contents.
|
STATE_NOT_FOUND | final public static short STATE_NOT_FOUND(Code) | | Entity not found. The entity could not be parsed before.
|
STATE_PARSED | final public static short STATE_PARSED(Code) | | Entity has been parsed. This state indicates that entity has been parsed
and it's parsed contents is contained in its child nodes.
|
STATE_PARSING | final public static short STATE_PARSING(Code) | | Entity is being parsed. This state designates that the entity is being
parsed right now. State is used to identify circular references.
|
_notation | protected String _notation(Code) | | The notation of this entity, if specified.
|
_publicId | protected String _publicId(Code) | | The public identifier of this entity, if specified.
|
_systemId | protected String _systemId(Code) | | The system identifier of this entity, if specified.
|
serialVersionUID | final static long serialVersionUID(Code) | | |
EntityImpl | public EntityImpl(DocumentImpl owner, String name, String systemId, String publicId, String notation)(Code) | | Constructs an unparsed general entity. Entity system identifier and notation
name must be provided, public identifier is optional.
Parameters: owner - The owner document Parameters: name - The entity name Parameters: systemId - The system identifier Parameters: publicId - The public identifier, if specified Parameters: notation - The notation, if specified |
EntityImpl | public EntityImpl(DocumentImpl owner, String name, String systemId, String publicId)(Code) | | Constructs an external general entity. Entity system identifier must be
provided, public identifier is optional.
Parameters: owner - The owner document Parameters: name - The entity name Parameters: systemId - The system identifier Parameters: publicId - The public identifier, if specified |
EntityImpl | public EntityImpl(DocumentImpl owner, String name, String internalValue)(Code) | | Constructs an internal general entity. Entity value must be provided.
Parameters: owner - The owner document Parameters: name - The entity name Parameters: internalValue - The unparsed entity value |
EntityImpl | public EntityImpl()(Code) | | |
cloneInto | public synchronized void cloneInto(NodeProxy into, boolean deep)(Code) | | |
cloneNode | final public Node cloneNode(boolean deep)(Code) | | |
equals | public synchronized boolean equals(Object other)(Code) | | |
getNodeType | public short getNodeType()(Code) | | |
getState | public short getState()(Code) | | Returns the parsing state of this entity.
State of entity |
isInternal | public boolean isInternal()(Code) | | Returns true if entity is an internal general entity. An internal entity
is one for which a value has been defined. An external entity is one for
which an external entity has been assigned through either system or
public identifiers.
If true is returned, then
EntityImpl.getInternal will return a string
(might be empty).
True if internal general entity |
isUnparsed | public boolean isUnparsed()(Code) | | Returns true if entity is an unparsed general entity. An unparsed entity
is one for which a notation has been specified.
True if unparsed general entity |
setInternal | public void setInternal(String internalValue)(Code) | | |
setNodeValue | final public void setNodeValue(String value)(Code) | | |
setNotationName | public void setNotationName(String notation)(Code) | | |
setState | public void setState(short newState)(Code) | | Changes the parsing state of this entity. Note that only some changes
are allowed: from declared to parsing, parsed or not found; from parsing
to parsed or not found; from not found to declared.
Parameters: newState - New state of entity |
supportsChildern | final protected boolean supportsChildern()(Code) | | |
|
|