Package de.pdark.decentxml.dtd
Class DocTypeNotation
- java.lang.Object
-
- de.pdark.decentxml.BasicNode
-
- de.pdark.decentxml.dtd.DocTypeNotation
-
- All Implemented Interfaces:
DocTypeNode
,Node
public class DocTypeNotation extends BasicNode implements DocTypeNode
-
-
Constructor Summary
Constructors Constructor Description DocTypeNotation(Token token, String name)
DocTypeNotation(XMLTokenizer.Type type, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 towriter
-
Methods inherited from class de.pdark.decentxml.BasicNode
copy, copy, createClone, getEndOffset, getStartOffset, getToken, getType, setType, setValue, toString, toXML, toXML
-
-
-
-
Constructor Detail
-
DocTypeNotation
public DocTypeNotation(XMLTokenizer.Type type, String name)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getText
public String getText()
-
setText
public void setText(String text)
-
getSystemLiteral
public String getSystemLiteral()
-
setSystemLiteral
public void setSystemLiteral(String systemLiteral)
-
isSystem
public boolean isSystem()
-
getPublicIDLiteral
public String getPublicIDLiteral()
-
setPublicIDLiteral
public void setPublicIDLiteral(String publicIDLiteral)
-
isPublic
public boolean isPublic()
-
toXML
public DocTypeNotation toXML(XMLWriter writer) throws IOException
Description copied from class:BasicNode
Append the content of this node towriter
- Specified by:
toXML
in interfaceNode
- Overrides:
toXML
in classBasicNode
- Throws:
IOException
-
addNode
public DocTypeNotation addNode(Node node)
- Specified by:
addNode
in interfaceDocTypeNode
-
-