|
|||||||||
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 java.lang.String |
ALIAS
This is an attribute |
static java.lang.String |
ATTRIBUTE
This is a tag |
static java.lang.String |
CONTENT
This is an attribute |
private XmlPeer |
currentPeer
This is the current peer. |
static java.lang.String |
NAME
This is an attribute |
static java.lang.String |
TAG
This is a tag |
private java.util.HashMap |
tagMap
This is the tagmap using the AttributeHandler |
static java.lang.String |
VALUE
This is an attribute |
Constructor Summary | |
---|---|
TagMap.AttributeHandler(java.util.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(java.lang.String uri,
java.lang.String lname,
java.lang.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(java.lang.String uri,
java.lang.String lname,
java.lang.String tag,
org.xml.sax.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 java.lang.String TAG
public static final java.lang.String ATTRIBUTE
public static final java.lang.String NAME
public static final java.lang.String ALIAS
public static final java.lang.String VALUE
public static final java.lang.String CONTENT
private java.util.HashMap tagMap
private XmlPeer currentPeer
Constructor Detail |
---|
public TagMap.AttributeHandler(java.util.HashMap tagMap)
Document
-object.
tagMap
- A Hashmap containing XmlPeer-objectsMethod Detail |
---|
public void startElement(java.lang.String uri, java.lang.String lname, java.lang.String tag, org.xml.sax.Attributes attrs)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.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 org.xml.sax.ContentHandler
ignorableWhitespace
in class org.xml.sax.helpers.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 org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
ch
- an array of charactersstart
- the start position in the arraylength
- the number of characters to read from the arraypublic void endElement(java.lang.String uri, java.lang.String lname, java.lang.String tag)
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |