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 DocTypeNotationaddNode(Node node)StringgetName()StringgetPublicIDLiteral()StringgetSystemLiteral()StringgetText()StringgetValue()booleanisPublic()booleanisSystem()voidsetName(String name)voidsetPublicIDLiteral(String publicIDLiteral)voidsetSystemLiteral(String systemLiteral)voidsetText(String text)DocTypeNotationtoXML(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:BasicNodeAppend the content of this node towriter- Specified by:
toXMLin interfaceNode- Overrides:
toXMLin classBasicNode- Throws:
IOException
-
addNode
public DocTypeNotation addNode(Node node)
- Specified by:
addNodein interfaceDocTypeNode
-
-