|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.lowagie.text.xml.TagMap.AttributeHandler
class TagMap.AttributeHandler
Field Summary | |
---|---|
static String |
ALIAS
This is an attribute |
static String |
ATTRIBUTE
This is a tag |
static String |
CONTENT
This is an attribute |
private XmlPeer |
currentPeer
This is the current peer. |
static String |
NAME
This is an attribute |
static String |
TAG
This is a tag |
private HashMap |
tagMap
This is the tagmap using the AttributeHandler |
static String |
VALUE
This is an attribute |
Constructor Summary | |
---|---|
TagMap.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. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TAG
public static final String ATTRIBUTE
public static final String NAME
public static final String ALIAS
public static final String VALUE
public static final String CONTENT
private HashMap tagMap
private XmlPeer currentPeer
Constructor Detail |
---|
public TagMap.AttributeHandler(HashMap tagMap)
Document
-object.
tagMap
- A Hashmap containing XmlPeer-objectsMethod Detail |
---|
public void startElement(String uri, String lname, String tag, Attributes attrs)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
uri
- the Uniform Resource Identifierlname
- the local name (without prefix), or the empty string if Namespace processing is not being performed.tag
- the name of the tag that is encounteredattrs
- the list of attributespublic void ignorableWhitespace(char[] ch, int start, int length)
ignorableWhitespace
in interface ContentHandler
ignorableWhitespace
in class DefaultHandler
ch
- an array of charactersstart
- the start position in the arraylength
- the number of characters to read from the arraypublic void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
ch
- an array of charactersstart
- the start position in the arraylength
- the number of characters to read from the arraypublic void endElement(String uri, String lname, String tag)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
uri
- the Uniform Resource Identifierlname
- the local name (without prefix), or the empty string if Namespace processing is not being performed.tag
- the name of the tag that ends
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |