模块 java.xml

接口 NotationDeclaration

所有父级接口:
XMLEvent , XMLStreamConstants

public interface NotationDeclaration extends XMLEvent
用于处理符号声明的接口接收符号声明事件的通知。由应用程序记录符号以供以后参考,publicId 和 systemId 中至少有一个必须是非空的。不能保证符号声明将在使用它的任何未解析实体之前报告。
自从:
1.6
  • 方法详情

    • getName

      String  getName()
      符号名称。
      返回:
      符号名称
    • getPublicId

      String  getPublicId()
      表示法的公共标识符,如果没有给出则为 null。
      返回:
      公共标识符
    • getSystemId

      String  getSystemId()
      表示法的系统标识符,如果没有给出则为 null。
      返回:
      系统标识符