de.pdark.decentxml
Class Entity

java.lang.Object
  extended by de.pdark.decentxml.BasicNode
      extended by de.pdark.decentxml.Entity
All Implemented Interfaces:
Node

public class Entity
extends BasicNode


Constructor Summary
Entity(java.lang.String name)
           
Entity(Token token, EntityResolver resolver)
           
 
Method Summary
static void checkUnicode(int unicode)
           
 Entity copy()
          Simulate clone()
 Entity copy(Node orig)
          Copy all data from orig into this
 Entity createClone()
          Simulate clone()
static Entity createDecimalEntity(int unicode)
           
static Entity createHexEntity(int unicode)
           
 java.lang.String getName()
           
 EntityResolver getResolver()
           
 java.lang.String getText()
           
 boolean isWhitespace()
           
 void setResolver(EntityResolver resolver)
           
 
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
 

Constructor Detail

Entity

public Entity(Token token,
              EntityResolver resolver)

Entity

public Entity(java.lang.String name)
Method Detail

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.