Class ASTElement

    • Method Detail

      • isHasNamespacePrefix

        public boolean isHasNamespacePrefix()
        Returns:
        boolean - true if the element has a namespace-prefix, false otherwise
      • getNamespacePrefix

        public String getNamespacePrefix()
        Returns:
        String - the part of the name that is before the (first) colon (":")
      • getLocalName

        public String getLocalName()
        Returns:
        String - The part of the name that is after the first colon (":"). If the name does not contain a colon, the full name is returned.
      • getName

        public String getName()
      • isEmpty

        public boolean isEmpty()
      • isUnclosed

        public boolean isUnclosed()
      • acceptVfVisitor

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

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