de.pdark.decentxml.dtd
Class DocType

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

public class DocType
extends BasicNode


Nested Class Summary
static class DocType.DocTypeType
           
 
Constructor Summary
DocType()
           
DocType(Token token)
           
 
Method Summary
 void add(Node n)
           
 java.util.List<DocTypeAttributeList> getAttributeList(java.lang.String name)
           
 java.util.List<java.util.List<DocTypeAttributeList>> getAttributeLists()
           
 DocType.DocTypeType getDocTypeType()
           
 DocTypeElement getElement(java.lang.String name)
           
 java.util.List<DocTypeElement> getElements()
           
 DocTypeEntity getEntity(java.lang.String name)
           
 EntityResolver getEntityResolver()
           
 EntityResolver getEntityResolver(EntityResolver parent)
           
 java.lang.String getName()
           
 java.lang.String getNotationDataName()
           
 DocTypeEntity getParameterEntity(java.lang.String name)
           
 java.lang.String getPublicLiteral()
           
 java.lang.String getSystemLiteral()
           
 void mapElementsAndAttributes()
          Map element and attlist declarations in the DTD
 void setDocTypeType(DocType.DocTypeType docTypeType)
           
 void setName(java.lang.String name)
           
 void setNotationDataName(java.lang.String notationDataName)
           
 void setPublicLiteral(java.lang.String publicLiteral)
           
 void setSystemLiteral(java.lang.String systemLiteral)
           
 DocType toXML(XMLWriter writer)
          Append the content of this node to writer
 
Methods inherited from class de.pdark.decentxml.BasicNode
copy, copy, createClone, getEndOffset, getStartOffset, getToken, getType, getValue, setType, setValue, toString, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocType

public DocType(Token token)

DocType

public DocType()
Method Detail

add

public void add(Node n)

mapElementsAndAttributes

public void mapElementsAndAttributes()
Map element and attlist declarations in the DTD


getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDocTypeType

public DocType.DocTypeType getDocTypeType()

setDocTypeType

public void setDocTypeType(DocType.DocTypeType docTypeType)

getPublicLiteral

public java.lang.String getPublicLiteral()

setPublicLiteral

public void setPublicLiteral(java.lang.String publicLiteral)

getSystemLiteral

public java.lang.String getSystemLiteral()

setSystemLiteral

public void setSystemLiteral(java.lang.String systemLiteral)

getNotationDataName

public java.lang.String getNotationDataName()

setNotationDataName

public void setNotationDataName(java.lang.String notationDataName)

toXML

public DocType toXML(XMLWriter writer)
              throws java.io.IOException
Description copied from class: BasicNode
Append the content of this node to writer

Specified by:
toXML in interface Node
Overrides:
toXML in class BasicNode
Throws:
java.io.IOException

getElement

public DocTypeElement getElement(java.lang.String name)

getElements

public java.util.List<DocTypeElement> getElements()

getAttributeList

public java.util.List<DocTypeAttributeList> getAttributeList(java.lang.String name)

getAttributeLists

public java.util.List<java.util.List<DocTypeAttributeList>> getAttributeLists()

getEntity

public DocTypeEntity getEntity(java.lang.String name)

getEntityResolver

public EntityResolver getEntityResolver()

getEntityResolver

public EntityResolver getEntityResolver(EntityResolver parent)

getParameterEntity

public DocTypeEntity getParameterEntity(java.lang.String name)


Copyright © 2008-2011. All Rights Reserved.