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
Methods inherited from class de.pdark.decentxml.BasicNode |
copy, copy, createClone, getEndOffset, getStartOffset, getToken, getType, setType, setValue, toString, toXML, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DocTypeNotation
public DocTypeNotation(Token token,
java.lang.String name)
DocTypeNotation
public DocTypeNotation(XMLTokenizer.Type type,
java.lang.String name)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getSystemLiteral
public java.lang.String getSystemLiteral()
setSystemLiteral
public void setSystemLiteral(java.lang.String systemLiteral)
isSystem
public boolean isSystem()
getPublicIDLiteral
public java.lang.String getPublicIDLiteral()
setPublicIDLiteral
public void setPublicIDLiteral(java.lang.String publicIDLiteral)
isPublic
public boolean isPublic()
getValue
public java.lang.String getValue()
- Overrides:
getValue
in class BasicNode
toXML
public DocTypeNotation toXML(XMLWriter writer)
throws java.io.IOException
- Description copied from class:
BasicNode
- Append the content of this node to
writer
- Specified by:
toXML
in interface Node
- Overrides:
toXML
in class BasicNode
- Throws:
java.io.IOException
addNode
public DocTypeNotation addNode(Node node)
- Specified by:
addNode
in interface DocTypeNode
Copyright © 2008-2011. All Rights Reserved.