public class DocTypeEntity extends BasicNode implements DocTypeNode
Constructor and Description |
---|
DocTypeEntity(Token token,
String name) |
DocTypeEntity(XMLTokenizer.Type type,
String name) |
Modifier and Type | Method and Description |
---|---|
DocTypeEntity |
addNode(Node node) |
String |
getName() |
List<Node> |
getNodes() |
String |
getNotationName() |
String |
getPublicIDLiteral() |
String |
getResolvedText() |
String |
getSystemLiteral() |
String |
getText() |
String |
getValue() |
boolean |
hasNDATA() |
boolean |
isParameterEntity() |
boolean |
isPublic() |
boolean |
isSystem() |
void |
setName(String name) |
void |
setNotationName(String notationName) |
void |
setParameterEntity(boolean parameterEntity) |
void |
setPublicIDLiteral(String publicIDLiteral) |
void |
setResolvedText(String resolvedText) |
void |
setSystemLiteral(String systemLiteral) |
void |
setText(String text) |
DocTypeEntity |
toXML(XMLWriter writer)
Append the content of this node to
writer |
copy, copy, createClone, getEndOffset, getStartOffset, getToken, getType, setType, setValue, toString, toXML, toXML
public DocTypeEntity(XMLTokenizer.Type type, String name)
public boolean isParameterEntity()
public void setParameterEntity(boolean parameterEntity)
public String getName()
public void setName(String name)
public String getText()
public void setText(String text)
public String getResolvedText()
public void setResolvedText(String resolvedText)
public String getSystemLiteral()
public void setSystemLiteral(String systemLiteral)
public boolean isSystem()
public String getPublicIDLiteral()
public void setPublicIDLiteral(String publicIDLiteral)
public boolean isPublic()
public DocTypeEntity toXML(XMLWriter writer) throws IOException
BasicNode
writer
toXML
in interface Node
toXML
in class BasicNode
IOException
public DocTypeEntity addNode(Node node)
addNode
in interface DocTypeNode
public String getNotationName()
public void setNotationName(String notationName)
public boolean hasNDATA()
Copyright © 2008–2021. All rights reserved.