org.apache.batik.dom

Class GenericDocumentType

public class GenericDocumentType extends AbstractChildNode implements DocumentType

This class implements the {@link org.w3c.dom.DocumentType} interface.
Field Summary
protected StringpublicId
protected StringqualifiedName
protected StringsystemId
Constructor Summary
GenericDocumentType(String qualifiedName, String publicId, String systemId)
Method Summary
NamedNodeMapgetEntities()
DOM: Implements {@link org.w3c.dom.DocumentType#getEntities()}.
StringgetInternalSubset()
DOM: Implements {@link org.w3c.dom.DocumentType#getInternalSubset()}.
StringgetName()
DOM: Implements {@link org.w3c.dom.DocumentType#getName()}.
StringgetNodeName()
DOM: Implements {@link org.w3c.dom.Node#getNodeName()}.
shortgetNodeType()
NamedNodeMapgetNotations()
DOM: Implements {@link org.w3c.dom.DocumentType#getNotations()}.
StringgetPublicId()
DOM: Implements {@link org.w3c.dom.DocumentType#getPublicId()}.
StringgetSystemId()
DOM: Implements {@link org.w3c.dom.DocumentType#getSystemId()}.
booleanisReadonly()
protected NodenewNode()
voidsetReadonly(boolean ro)

Field Detail

publicId

protected String publicId

qualifiedName

protected String qualifiedName

systemId

protected String systemId

Constructor Detail

GenericDocumentType

public GenericDocumentType(String qualifiedName, String publicId, String systemId)

Method Detail

getEntities

public NamedNodeMap getEntities()
DOM: Implements {@link org.w3c.dom.DocumentType#getEntities()}.

Returns: null.

getInternalSubset

public String getInternalSubset()
DOM: Implements {@link org.w3c.dom.DocumentType#getInternalSubset()}.

Returns: The public id.

getName

public String getName()
DOM: Implements {@link org.w3c.dom.DocumentType#getName()}.

Returns: The name of the DTD.

getNodeName

public String getNodeName()
DOM: Implements {@link org.w3c.dom.Node#getNodeName()}.

Returns: The name of the DTD.

getNodeType

public short getNodeType()

getNotations

public NamedNodeMap getNotations()
DOM: Implements {@link org.w3c.dom.DocumentType#getNotations()}.

Returns: null.

getPublicId

public String getPublicId()
DOM: Implements {@link org.w3c.dom.DocumentType#getPublicId()}.

Returns: The public id.

getSystemId

public String getSystemId()
DOM: Implements {@link org.w3c.dom.DocumentType#getSystemId()}.

Returns: The public id.

isReadonly

public boolean isReadonly()

newNode

protected Node newNode()

setReadonly

public void setReadonly(boolean ro)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.