public interface DTD extends XMLEvent
ATTRIBUTE,
CDATA, CHARACTERS,
COMMENT,
DTD, END_DOCUMENT,
END_ELEMENT,
ENTITY_DECLARATION,
ENTITY_REFERENCE,
NAMESPACE,
NOTATION_DECLARATION,
PROCESSING_INSTRUCTION,
SPACE, START_DOCUMENT,
START_ELEMENT
Modifier and Type | Method and Description |
---|---|
String |
getDocumentTypeDeclaration()
以字符串形式返回整个文档类型声明,包括内部DTD子集。
|
List |
getEntities()
返回一个包含在DTD中声明的外部和内部的一般实体的列表。
|
List |
getNotations()
返回一个包含DTD中声明的符号的列表。
|
Object |
getProcessedDTD()
返回DTD的实现定义表示。
|
asCharacters,
asEndElement,
asStartElement,
getEventType,
getLocation,
getSchemaType,
isAttribute,
isCharacters,
isEndDocument,
isEndElement,
isEntityReference,
isNamespace,
isProcessingInstruction,
isStartDocument,
isStartElement,
writeAsEncodedUnicode
String getDocumentTypeDeclaration()
Object getProcessedDTD()
List getNotations()
NotationDeclaration
List getEntities()
EntityDeclaration