Modifier and Type | Class and Description |
---|---|
static class |
DocType.DocTypeType |
Modifier and Type | Method and Description |
---|---|
void |
add(Node n) |
List<DocTypeAttributeList> |
getAttributeList(String name) |
List<List<DocTypeAttributeList>> |
getAttributeLists() |
DocType.DocTypeType |
getDocTypeType() |
DocTypeElement |
getElement(String name) |
List<DocTypeElement> |
getElements() |
DocTypeEntity |
getEntity(String name) |
EntityResolver |
getEntityResolver() |
EntityResolver |
getEntityResolver(EntityResolver parent) |
String |
getName() |
String |
getNotationDataName() |
DocTypeEntity |
getParameterEntity(String name) |
String |
getPublicLiteral() |
String |
getSystemLiteral() |
void |
mapElementsAndAttributes()
Map element and attlist declarations in the DTD
|
void |
setDocTypeType(DocType.DocTypeType docTypeType) |
void |
setName(String name) |
void |
setNotationDataName(String notationDataName) |
void |
setPublicLiteral(String publicLiteral) |
void |
setSystemLiteral(String systemLiteral) |
DocType |
toXML(XMLWriter writer)
Append the content of this node to
writer |
copy, copy, createClone, getEndOffset, getStartOffset, getToken, getType, getValue, setType, setValue, toString, toXML, toXML
public DocType(Token token)
public DocType()
public void add(Node n)
public void mapElementsAndAttributes()
public String getName()
public void setName(String name)
public DocType.DocTypeType getDocTypeType()
public void setDocTypeType(DocType.DocTypeType docTypeType)
public String getPublicLiteral()
public void setPublicLiteral(String publicLiteral)
public String getSystemLiteral()
public void setSystemLiteral(String systemLiteral)
public String getNotationDataName()
public void setNotationDataName(String notationDataName)
public DocType toXML(XMLWriter writer) throws IOException
BasicNode
writer
toXML
in interface Node
toXML
in class BasicNode
IOException
public DocTypeElement getElement(String name)
public List<DocTypeElement> getElements()
public List<DocTypeAttributeList> getAttributeList(String name)
public List<List<DocTypeAttributeList>> getAttributeLists()
public DocTypeEntity getEntity(String name)
public EntityResolver getEntityResolver()
public EntityResolver getEntityResolver(EntityResolver parent)
public DocTypeEntity getParameterEntity(String name)
Copyright © 2008–2021. All rights reserved.