Class ProcessingInstructionTag

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Node, Tag

    public class ProcessingInstructionTag
    extends TagNode
    The XML processing instructions like <?xml ... ?> can be identified by this class.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProcessingInstructionTag

        public ProcessingInstructionTag()
        Create a new processing instruction tag.
    • Method Detail

      • getIds

        public java.lang.String[] getIds()
        Return the set of names handled by this tag.
        Specified by:
        getIds in interface Tag
        Overrides:
        getIds in class TagNode
        Returns:
        The names to be matched that create tags of this type.
      • toString

        public java.lang.String toString()
        Returns a string representation of this processing instruction suitable for debugging.
        Specified by:
        toString in interface Node
        Overrides:
        toString in class TagNode
        Returns:
        A string representing this tag.