Class AttributeToken

    • Field Detail

      • namespaceURI

        public java.lang.String namespaceURI
      • localName

        public java.lang.String localName
      • qName

        public java.lang.String qName
      • matchedExp

        public AttributeExp matchedExp
        holds a reference to the assigned type. If this AttributeToken is successfully consumed, then this field contains the AttributeExp which consumed this token. If this token is not consumed or several different AttributeExps consumed this token, then null.
      • saturated

        private boolean saturated
        If this value is false, the "matched" field must always null. This indicates that no AttributeExp has consumed this token yet. If this value is true and the "matched" field is non-null, then it means that AttributeExp has consumed this token. If this value is true and the "matched" field is null, then more than one AttributeExps have consumed this token.
    • Constructor Detail

      • AttributeToken

        protected AttributeToken​(REDocumentDeclaration docDecl,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 java.lang.String qName,
                                 java.lang.String value,
                                 IDContextProvider2 context)
      • AttributeToken

        protected AttributeToken​(REDocumentDeclaration docDecl,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 java.lang.String qName,
                                 StringToken value)
    • Method Detail

      • reinit

        void reinit​(java.lang.String namespaceURI,
                    java.lang.String localName,
                    java.lang.String qName,
                    StringToken value)
      • createRecoveryAttToken

        final AttributeRecoveryToken createRecoveryAttToken()
        creates a special AttributeToken which matchs any content restrictions. This token acts like a wild card for the attribute. This method is used for error recovery.