convert.xml.dtd.om
Class DatatypeRef

java.lang.Object
  extended by convert.xml.dtd.om.Datatype
      extended by convert.xml.dtd.om.DatatypeRef

public class DatatypeRef
extends Datatype


Field Summary
 
Fields inherited from class convert.xml.dtd.om.Datatype
CDATA, DATATYPE_REF, ENUM, NOTATION, TOKENIZED
 
Constructor Summary
DatatypeRef(java.lang.String name, Datatype datatype)
           
 
Method Summary
 void accept(DatatypeVisitor visitor)
           
 Datatype deref()
           
 Datatype getDatatype()
           
 java.lang.String getName()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatatypeRef

public DatatypeRef(java.lang.String name,
                   Datatype datatype)
Method Detail

getType

public int getType()
Specified by:
getType in class Datatype

getDatatype

public Datatype getDatatype()

getName

public java.lang.String getName()

accept

public void accept(DatatypeVisitor visitor)
            throws java.lang.Exception
Specified by:
accept in class Datatype
Throws:
java.lang.Exception

deref

public Datatype deref()
Overrides:
deref in class Datatype