All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.jclark.xml.parse.DTD

public interface DTD
Information about a DTD.


Method Index

 o entityNames()
Returns an enumeration over the names of general entities declared in the DTD.
 o getElementTypeElementContent(String)
Returns true if an element type was declared to have element content.
 o getEntityBase(String)
Returns the URL of the entity in which the general entity was declared.
 o getEntityNotationName(String)
Returns the name of the notation of an unparsed general entity.
 o getEntityPublicId(String)
Returns the public identifier for a general entity.
 o getEntityReplacementText(String)
Returns the replacement text of the specified general entity.
 o getEntitySystemId(String)
Returns the system identifier for a general entity.
 o getNotationBase(String)
Returns the URL of the entity in which the notation was declared.
 o getNotationPublicId(String)
Returns the public identifier for a notation.
 o getNotationSystemId(String)
Returns the system identifier for a notation.
 o isComplete()
Returns true if the complete DTD was processed.
 o isStandalone()
Returns true if standalone="yes" was specified in the XML declaration.
 o notationNames()
Returns an enumeration over the names of notations declared in the DTD.

Methods

 o entityNames
 public abstract Enumeration entityNames()
Returns an enumeration over the names of general entities declared in the DTD.

 o notationNames
 public abstract Enumeration notationNames()
Returns an enumeration over the names of notations declared in the DTD.

 o getNotationSystemId
 public abstract String getNotationSystemId(String notationName)
Returns the system identifier for a notation. Returns null if the notation was not declared or no system identifier was specified. A relative URL is not automatically resolved into an absolute URL; getNotationBase can be used to do this.

See Also:
getNotationBase
 o getNotationPublicId
 public abstract String getNotationPublicId(String notationName)
Returns the public identifier for a notation. Returns null if the notation was not declared or no public identifier was specified.

 o getNotationBase
 public abstract URL getNotationBase(String notationName)
Returns the URL of the entity in which the notation was declared. Returns null if the entity was not declared or the URL of the declaring entity is not available.

 o getEntityReplacementText
 public abstract String getEntityReplacementText(String entityName)
Returns the replacement text of the specified general entity. Returns null if the entity was not declared or was as an external entity.

 o getEntitySystemId
 public abstract String getEntitySystemId(String entityName)
Returns the system identifier for a general entity. Returns null if the entity was not declared or is an internal entity. A relative URL is not automatically resolved into an absolute URL; getNotationBase can be used to do this.

See Also:
getEntityBase
 o getEntityPublicId
 public abstract String getEntityPublicId(String entityName)
Returns the public identifier for a general entity. Returns null if the entity was not declared or no public identifier was specified.

 o getEntityNotationName
 public abstract String getEntityNotationName(String entityName)
Returns the name of the notation of an unparsed general entity. Returns null if the entity was not declared or was a parsed entity.

 o getEntityBase
 public abstract URL getEntityBase(String entityName)
Returns the URL of the entity in which the general entity was declared. Returns null if the entity was not declared or the URL of the declaring entity is not available.

 o getElementTypeElementContent
 public abstract boolean getElementTypeElementContent(String elementTypeName)
Returns true if an element type was declared to have element content.

 o isComplete
 public abstract boolean isComplete()
Returns true if the complete DTD was processed.

 o isStandalone
 public abstract boolean isStandalone()
Returns true if standalone="yes" was specified in the XML declaration.


All Packages  Class Hierarchy  This Package  Previous  Next  Index