javax.xml.stream.events

Interface DTD

public interface DTD extends XMLEvent

A DOCTYPE declaration event.
Method Summary
StringgetDocumentTypeDeclaration()
Returns the body of the DTD, including the internal DTD subset.
ListgetEntities()
Returns the entities declared in the DTD.
ListgetNotations()
Returns the notations declared in the DTD.
ObjectgetProcessedDTD()
Returns an implementation-specific representation of the DTD, or null if no such representation is available.

Method Detail

getDocumentTypeDeclaration

public String getDocumentTypeDeclaration()
Returns the body of the DTD, including the internal DTD subset.

getEntities

public List getEntities()
Returns the entities declared in the DTD.

getNotations

public List getNotations()
Returns the notations declared in the DTD.

getProcessedDTD

public Object getProcessedDTD()
Returns an implementation-specific representation of the DTD, or null if no such representation is available.