de.pdark.decentxml.dtd
Class DocType
java.lang.Object
de.pdark.decentxml.BasicNode
de.pdark.decentxml.dtd.DocType
- All Implemented Interfaces:
- Node
public class DocType
- extends BasicNode
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 |
DocType
public DocType(Token token)
DocType
public DocType()
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.