All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Interface com.jclark.xml.parse.DTD
  -  public interface DTD
Information about a DTD.
   
  -   EXTERNAL_SUBSET_NAME EXTERNAL_SUBSET_NAME
-   The external subset declared in the document type declaration
 is modelled as a parameter entity with this name.
  
-   GENERAL_ENTITY GENERAL_ENTITY
-   Indicates a general entity.
  
-   NOTATION NOTATION
-   Indicates an entity declared with a NOTATION declaration.
  
-   PARAMETER_ENTITY PARAMETER_ENTITY
-   Indicates a parameter entity.
   
  -   elementTypeNames() elementTypeNames()
-   Returns an enumeration over the names of element types which were
 declared in the DTD or for which attributes were declared in the DTD.
  
-   entityNames(byte) entityNames(byte)
-   Returns an enumeration over the names of entities of the
 specified type.
  
-   getDocumentTypeName() getDocumentTypeName()
-   Returns the document type name or null if there was no DOCTYPE
 declaration.
  
-   getElementType(String) getElementType(String)
-   Returns information about the element type with the specified name,
 or null if there was neither an ELEMENT nor an ATTLIST declaration.
  
-   getEntity(byte, String) getEntity(byte, String)
-   Returns information about the entity with the specified name
 and type or null if there was no such entity declared.
  
-   isComplete() isComplete()
-   Returns true if the complete DTD was processed.
  
-   isStandalone() isStandalone()
-   Returns true if standalone="yes"was specified in the
 XML declaration.
   
 GENERAL_ENTITY
GENERAL_ENTITY
 public static final byte GENERAL_ENTITY
  -  Indicates a general entity.
   
-  
    -  See Also:
    
-  getEntity, entityNames
  
 
 PARAMETER_ENTITY
PARAMETER_ENTITY
 public static final byte PARAMETER_ENTITY
  -  Indicates a parameter entity.
   
-  
    -  See Also:
    
-  getEntity, entityNames
  
 
 NOTATION
NOTATION
 public static final byte NOTATION
  -  Indicates an entity declared with a NOTATION declaration.
   
-  
    -  See Also:
    
-  getEntity, entityNames
  
 
 EXTERNAL_SUBSET_NAME
EXTERNAL_SUBSET_NAME
 public static final String EXTERNAL_SUBSET_NAME
  -  The external subset declared in the document type declaration
 is modelled as a parameter entity with this name.
 This will not be included in the names enumerated by
 entityNames.
 If there is an external subset then its contents will
 be preceded by a StartEntityReferenceEvent with this name,
 and followed by an EndEntityReferenceEvent.
 
   
 getDocumentTypeName
getDocumentTypeName
 public abstract String getDocumentTypeName()
  -  Returns the document type name or null if there was no DOCTYPE
 declaration.
 
 getEntity
getEntity
 public abstract Entity getEntity(byte entityType,
                                  String name)
  -  Returns information about the entity with the specified name
 and type or null if there was no such entity declared.
   
- 
    -  See Also:
    
-  GENERAL_ENTITY, PARAMETER_ENTITY, NOTATION
  
 
 entityNames
entityNames
 public abstract Enumeration entityNames(byte entityType)
  -  Returns an enumeration over the names of entities of the
 specified type.
   
- 
    -  See Also:
    
-  GENERAL_ENTITY, PARAMETER_ENTITY, NOTATION
  
 
 getElementType
getElementType
 public abstract ElementType getElementType(String name)
  -  Returns information about the element type with the specified name,
 or null if there was neither an ELEMENT nor an ATTLIST declaration.
 
 elementTypeNames
elementTypeNames
 public abstract Enumeration elementTypeNames()
  -  Returns an enumeration over the names of element types which were
 declared in the DTD or for which attributes were declared in the DTD.
 
 isComplete
isComplete
 public abstract boolean isComplete()
  -  Returns true if the complete DTD was processed.
 
 isStandalone
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