All Packages Class Hierarchy This Package Previous Next Index
Interface com.jclark.xml.parse.DTD
- public interface DTD
Information about a DTD.
-
entityNames()
- Returns an enumeration over the names of general entities declared in
the DTD.
-
getElementTypeElementContent(String)
- Returns true if an element type was declared to have element content.
-
getEntityBase(String)
- Returns the URL of the entity in which the general entity was declared.
-
getEntityNotationName(String)
- Returns the name of the notation of an unparsed general entity.
-
getEntityPublicId(String)
- Returns the public identifier for a general entity.
-
getEntityReplacementText(String)
- Returns the replacement text of the specified general entity.
-
getEntitySystemId(String)
- Returns the system identifier for a general entity.
-
getNotationBase(String)
- Returns the URL of the entity in which the notation was declared.
-
getNotationPublicId(String)
- Returns the public identifier for a notation.
-
getNotationSystemId(String)
- Returns the system identifier for a notation.
-
isComplete()
- Returns true if the complete DTD was processed.
-
isStandalone()
- Returns true if
standalone="yes"
was specified in the
XML declaration.
-
notationNames()
- Returns an enumeration over the names of notations declared in
the DTD.
entityNames
public abstract Enumeration entityNames()
- Returns an enumeration over the names of general entities declared in
the DTD.
notationNames
public abstract Enumeration notationNames()
- Returns an enumeration over the names of notations declared in
the DTD.
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
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.
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.
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.
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
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.
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.
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.
getElementTypeElementContent
public abstract boolean getElementTypeElementContent(String elementTypeName)
- Returns true if an element type was declared to have element content.
isComplete
public abstract boolean isComplete()
- Returns true if the complete DTD was processed.
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