com.partnersoft.formats.xml
Class XmlAttributeValueListingActor

java.lang.Object
  extended by com.partnersoft.formats.xml.XmlAttributeValueListingActor
All Implemented Interfaces:
XmlActor

public class XmlAttributeValueListingActor
extends java.lang.Object
implements XmlActor


Constructor Summary
XmlAttributeValueListingActor(java.lang.String tagName, java.lang.String attributeName)
           
 
Method Summary
 void endElement(java.lang.String name, java.lang.String characterData)
          Called when a closing tag is encounterd, ending an element.
 java.util.List<java.lang.String> getValues()
           
 void startElement(java.lang.String name, org.xml.sax.Attributes attributes)
          Called when an opening tag is encountered, starting an element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlAttributeValueListingActor

public XmlAttributeValueListingActor(java.lang.String tagName,
                                     java.lang.String attributeName)
Method Detail

endElement

public void endElement(java.lang.String name,
                       java.lang.String characterData)
                throws java.lang.Exception
Description copied from interface: XmlActor
Called when a closing tag is encounterd, ending an element. The qName of the tag and a String containing any character data enclosed are supplied.

Specified by:
endElement in interface XmlActor
Parameters:
name - qName of element
characterData - any character data encountered
Throws:
java.lang.Exception - if anything bad happens (this stops the parsing)

startElement

public void startElement(java.lang.String name,
                         org.xml.sax.Attributes attributes)
                  throws java.lang.Exception
Description copied from interface: XmlActor
Called when an opening tag is encountered, starting an element. The qName of the tag and the associated attributes are supplied.

Specified by:
startElement in interface XmlActor
Parameters:
name - qName of element
attributes - attributes listed in the tag
Throws:
java.lang.Exception - if anything bad happens (this stops the parsing)

getValues

public java.util.List<java.lang.String> getValues()