com.lowagie.text.xml
class TagMap.AttributeHandler extends DefaultHandler
Field Summary | |
---|---|
static String | ALIAS This is an attribute |
static String | ATTRIBUTE This is a tag |
XmlPeer | currentPeer This is the current peer. |
static String | CONTENT This is an attribute |
static String | NAME This is an attribute |
HashMap | tagMap This is the tagmap using the AttributeHandler |
static String | TAG This is a tag |
static String | VALUE This is an attribute |
Constructor Summary | |
---|---|
AttributeHandler(HashMap tagMap)
Constructs a new SAXiTextHandler that will translate all the events
triggered by the parser to actions on the Document -object.
|
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length)
This method gets called when characters are encountered.
|
void | endElement(String uri, String lname, String tag)
This method gets called when an end tag is encountered.
|
void | ignorableWhitespace(char[] ch, int start, int length)
This method gets called when ignorable white space encountered.
|
void | startElement(String uri, String lname, String tag, Attributes attrs)
This method gets called when a start tag is encountered.
|
Document
-object.
Parameters: tagMap A Hashmap containing XmlPeer-objects
Parameters: ch an array of characters start the start position in the array length the number of characters to read from the array
Parameters: uri the Uniform Resource Identifier lname the local name (without prefix), or the empty string if Namespace processing is not being performed. tag the name of the tag that ends
Parameters: ch an array of characters start the start position in the array length the number of characters to read from the array
Parameters: uri the Uniform Resource Identifier lname the local name (without prefix), or the empty string if Namespace processing is not being performed. tag the name of the tag that is encountered attrs the list of attributes