de.pdark.decentxml.dtd
Class DocTypeNotation

java.lang.Object
  extended by de.pdark.decentxml.BasicNode
      extended by de.pdark.decentxml.dtd.DocTypeNotation
All Implemented Interfaces:
DocTypeNode, Node

public class DocTypeNotation
extends BasicNode
implements DocTypeNode


Constructor Summary
DocTypeNotation(Token token, java.lang.String name)
           
DocTypeNotation(XMLTokenizer.Type type, java.lang.String name)
           
 
Method Summary
 DocTypeNotation addNode(Node node)
           
 java.lang.String getName()
           
 java.lang.String getPublicIDLiteral()
           
 java.lang.String getSystemLiteral()
           
 java.lang.String getText()
           
 java.lang.String getValue()
           
 boolean isPublic()
           
 boolean isSystem()
           
 void setName(java.lang.String name)
           
 void setPublicIDLiteral(java.lang.String publicIDLiteral)
           
 void setSystemLiteral(java.lang.String systemLiteral)
           
 void setText(java.lang.String text)
           
 DocTypeNotation toXML(XMLWriter writer)
          Append the content of this node to writer
 
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
 

Constructor Detail

DocTypeNotation

public DocTypeNotation(Token token,
                       java.lang.String name)

DocTypeNotation

public DocTypeNotation(XMLTokenizer.Type type,
                       java.lang.String name)
Method Detail

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.