Class ASTLiteral

    • Method Detail

      • acceptVfVisitor

        protected <P,​R> R acceptVfVisitor​(VfVisitor<? super P,​? extends R> visitor,
                                                P data)
      • getDataType

        public DataType getDataType()
        Description copied from interface: VfTypedNode
        Returns the data type this node refers to. A null value indicates that no matching Metadata was found for this node. null differs from DataType.Unknown which indicates that Metadata was found but it wasn't mappable to one of the enums.

        Example XPath 1.0 and 2.0: //Identifier[@DataType='DateTime']

        Specified by:
        getDataType in interface VfTypedNode
      • acceptVisitor

        public final <P,​R> R acceptVisitor​(AstVisitor<? super P,​? extends R> visitor,
                                                 P data)
        Specified by:
        acceptVisitor in interface Node