de.pdark.decentxml.dtd
Class DocTypeEntity
java.lang.Object
de.pdark.decentxml.BasicNode
de.pdark.decentxml.dtd.DocTypeEntity
- All Implemented Interfaces:
- DocTypeNode, Node
public class DocTypeEntity
- 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 |
DocTypeEntity
public DocTypeEntity(Token token,
java.lang.String name)
DocTypeEntity
public DocTypeEntity(XMLTokenizer.Type type,
java.lang.String name)
isParameterEntity
public boolean isParameterEntity()
setParameterEntity
public void setParameterEntity(boolean parameterEntity)
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)
getResolvedText
public java.lang.String getResolvedText()
setResolvedText
public void setResolvedText(java.lang.String resolvedText)
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 DocTypeEntity 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 DocTypeEntity addNode(Node node)
- Specified by:
addNode
in interface DocTypeNode
getNodes
public java.util.List<Node> getNodes()
getNotationName
public java.lang.String getNotationName()
setNotationName
public void setNotationName(java.lang.String notationName)
hasNDATA
public boolean hasNDATA()
Copyright © 2008-2011. All Rights Reserved.