JavaTM 2 Platform
Standard Ed. 6

javax.xml.stream.events
接口 NotationDeclaration

所有超级接口:
XMLEvent, XMLStreamConstants

public interface NotationDeclaration
extends XMLEvent

处理注释声明的接口。 接收注释声明事件的通知。这取决于用来记录以后参考的注释的应用程序,publicId 和 systemId 中至少有一个必须为非 null。不能保证任何未解析实体在使用注释声明之前都报告它。

从以下版本开始:
1.6

字段摘要
 
从接口 javax.xml.stream.XMLStreamConstants 继承的字段
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
方法摘要
 String getName()
          注释的名称。
 String getPublicId()
          注释的公共标识符,如果未提供该标识符,则为 null。
 String getSystemId()
          注释的系统标识符,如果未提供该标识符,则为 null。
 
从接口 javax.xml.stream.events.XMLEvent 继承的方法
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
 

方法详细信息

getName

String getName()
注释的名称。


getPublicId

String getPublicId()
注释的公共标识符,如果未提供该标识符,则为 null。


getSystemId

String getSystemId()
注释的系统标识符,如果未提供该标识符,则为 null。


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only