FileDocCategorySizeDatePackage
DTD.javaAPI DocJava SE 6 API1395Tue Jun 10 00:27:10 BST 2008javax.xml.stream.events

DTD

public interface DTD implements XMLEvent
This is the top level interface for events dealing with DTDs
version
1.0
author
Copyright (c) 2003 by BEA Systems. All Rights Reserved.
since
1.6

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetDocumentTypeDeclaration()
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

public java.util.ListgetEntities()
Return a List containing the general entities, both external and internal, declared in the DTD. This list must contain EntityDeclaration events.

see
EntityDeclaration
return
an unordered list of EntityDeclaration events

public java.util.ListgetNotations()
Return a List containing the notations declared in the DTD. This list must contain NotationDeclaration events.

see
NotationDeclaration
return
an unordered list of NotationDeclaration events

public java.lang.ObjectgetProcessedDTD()
Returns an implementation defined representation of the DTD. This method may return null if no representation is available.