de.pdark.decentxml
Class Entity
java.lang.Object
de.pdark.decentxml.BasicNode
de.pdark.decentxml.Entity
- All Implemented Interfaces:
- Node
public class Entity
- extends BasicNode
Methods inherited from class de.pdark.decentxml.BasicNode |
getEndOffset, getStartOffset, getToken, getType, getValue, setType, setValue, toString, toXML, toXML, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Entity
public Entity(Token token,
EntityResolver resolver)
Entity
public Entity(java.lang.String name)
createDecimalEntity
public static Entity createDecimalEntity(int unicode)
checkUnicode
public static void checkUnicode(int unicode)
createHexEntity
public static Entity createHexEntity(int unicode)
setResolver
public void setResolver(EntityResolver resolver)
getResolver
public EntityResolver getResolver()
getName
public java.lang.String getName()
getText
public java.lang.String getText()
isWhitespace
public boolean isWhitespace()
createClone
public Entity createClone()
- Description copied from interface:
Node
- Simulate clone()
- Specified by:
createClone
in interface Node
- Overrides:
createClone
in class BasicNode
copy
public Entity copy(Node orig)
- Description copied from interface:
Node
- Copy all data from
orig
into this
- Specified by:
copy
in interface Node
- Overrides:
copy
in class BasicNode
copy
public Entity copy()
- Description copied from interface:
Node
- Simulate clone()
- Specified by:
copy
in interface Node
- Overrides:
copy
in class BasicNode
Copyright © 2008-2011. All Rights Reserved.