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