code: @Override
      public Object getProperty(String name)
      {
          // DTD-specific properties...
          if (name.equals(STAX_PROP_ENTITIES)) {
              safeEnsureFinishToken();
              if (mDTD == null || !(mDTD instanceof DTDSubset)) {
                  return null;
              }
              List<EntityDecl> l = ((DTDSubset) mDTD).getGeneralEntityList();
              /* Let's make a copy, so that caller can not modify
               * DTD's internal list instance
               */
              return new ArrayList<EntityDecl>(l);
          }
          if (name.equals(STAX_PROP_NOTATIONS)) {
              safeEnsureFinishToken();
              if (mDTD == null || !(mDTD instanceof DTDSubset)) {
                  return null;
              }
              /* Let's make a copy, so that caller can not modify
               * DTD's internal list instance
               */
              List<NotationDeclaration> l = ((DTDSubset) mDTD).getNotationList();
              return new ArrayList<NotationDeclaration>(l);
          }
          return super.getProperty(name);
      }
docs: /*
  /////////////////////////////////////////////////////////////////////
  Public API, configuration
  /////////////////////////////////////////////////////////////////////