Class ProcessingInstructionTag

All Implemented Interfaces:
Serializable, Cloneable, Node, Tag

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

    • ProcessingInstructionTag

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

    • getIds

      public 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 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.