org.dom4j.tree

Class AbstractDocumentType

public abstract class AbstractDocumentType extends AbstractNode implements DocumentType

AbstractDocumentType is an abstract base class for tree implementors to use for implementation inheritence.

Version: $Revision: 1.17 $

Author: James Strachan

Constructor Summary
AbstractDocumentType()
Method Summary
voidaccept(Visitor visitor)
StringasXML()
StringgetName()
shortgetNodeType()
StringgetPath(Element context)
StringgetText()
Returns the text format of the declarations if applicable, or the empty String
StringgetUniquePath(Element context)
voidsetName(String name)
StringtoString()
voidwrite(Writer writer)

Constructor Detail

AbstractDocumentType

public AbstractDocumentType()

Method Detail

accept

public void accept(Visitor visitor)

asXML

public String asXML()

getName

public String getName()

getNodeType

public short getNodeType()

getPath

public String getPath(Element context)

getText

public String getText()
Returns the text format of the declarations if applicable, or the empty String

Returns: DOCUMENT ME!

getUniquePath

public String getUniquePath(Element context)

setName

public void setName(String name)

toString

public String toString()

write

public void write(Writer writer)
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge