| javax.xml.stream.events.DTD
DTD | public interface DTD extends XMLEvent(Code) | | This is the top level interface for events dealing with DTDs
version: 1.0 author: Copyright (c) 2003 by BEA Systems. All Rights Reserved. |
Method Summary | |
String | getDocumentTypeDeclaration() Returns the entire Document Type Declaration as a string, including
the internal DTD subset. | List | getEntities() Return a List containing the general entities,
both external and internal, declared in the DTD. | List | getNotations() Return a List containing the notations declared in the DTD.
This list must contain NotationDeclaration events. | Object | getProcessedDTD() Returns an implementation defined representation of the DTD. |
getDocumentTypeDeclaration | String getDocumentTypeDeclaration()(Code) | | Returns the entire Document Type Declaration as a string, including
the internal DTD subset.
This may be null if there is not an internal subset.
If it is not null it must return the entire
Document Type Declaration which matches the doctypedecl
production in the XML 1.0 specification
|
getEntities | List getEntities()(Code) | | Return a List containing the general entities,
both external and internal, declared in the DTD.
This list must contain EntityDeclaration events.
See Also: EntityDeclaration an unordered list of EntityDeclaration events |
getNotations | List getNotations()(Code) | | Return a List containing the notations declared in the DTD.
This list must contain NotationDeclaration events.
See Also: NotationDeclaration an unordered list of NotationDeclaration events |
getProcessedDTD | Object getProcessedDTD()(Code) | | Returns an implementation defined representation of the DTD.
This method may return null if no representation is available.
|
|
|