Enum EMicroNodeType

    • Field Detail

      • ILLEGAL_DOM_NODE_TYPE

        public static final short ILLEGAL_DOM_NODE_TYPE
        Represents a non-existing DOM Node Type
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static EMicroNodeType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EMicroNodeType c : EMicroNodeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EMicroNodeType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getID

        @Nonnegative
        public int getID()
        Specified by:
        getID in interface com.helger.commons.id.IHasIntID
      • hasCorrespondingDOMNodeType

        public boolean hasCorrespondingDOMNodeType()
        Returns:
        true if this micro node type has a corresponding DOM node type. false if not.
      • getDOMNodeType

        public short getDOMNodeType()
        Returns:
        The corresponding DOM node type or ILLEGAL_DOM_NODE_TYPE if this micro node type has no corresponding DOM node type.
      • isCDATA

        public boolean isCDATA()
      • isText

        public boolean isText()