org.htmlparser.tags

Class ProcessingInstructionTag

public class ProcessingInstructionTag extends TagNode

The XML processing instructions like <?xml ... ?> can be identified by this class.
Constructor Summary
ProcessingInstructionTag()
Create a new processing instruction tag.
Method Summary
String[]getIds()
Return the set of names handled by this tag.
StringtoString()
Returns a string representation of this processing instruction suitable for debugging.

Constructor Detail

ProcessingInstructionTag

public ProcessingInstructionTag()
Create a new processing instruction tag.

Method Detail

getIds

public String[] getIds()
Return the set of names handled by this tag.

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.

Returns: A string representing this tag.

HTML Parser is an open source library released under LGPL. SourceForge.net