Package de.pdark.decentxml.dtd
Class DocType
- java.lang.Object
-
- de.pdark.decentxml.BasicNode
-
- de.pdark.decentxml.dtd.DocType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DocType.DocTypeType
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 DTDvoid
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 towriter
-
Methods inherited from class de.pdark.decentxml.BasicNode
copy, copy, createClone, getEndOffset, getStartOffset, getToken, getType, getValue, setType, setValue, toString, toXML, toXML
-
-
-
-
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 towriter
-
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)
-
-