nz.ac.waikato.mcennis.rat.reusablecores.aggregator.xml
Class ProductXML

java.lang.Object
  extended by nz.ac.waikato.mcennis.rat.reusablecores.aggregator.xml.ProductXML
All Implemented Interfaces:
AggregatorXML, XMLParserObject

public class ProductXML
extends java.lang.Object
implements AggregatorXML


Nested Class Summary
 
Nested classes/interfaces inherited from interface nz.ac.waikato.mcennis.rat.XMLParserObject
XMLParserObject.State
 
Constructor Summary
ProductXML()
           
 
Method Summary
 XMLParserObject.State buildingStatus()
          Returns whether or not the current object has been built from an XML file.
 void characters(char[] ch, int start, int length)
          Procedure called for handling character data.
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
          Procedure called when end tags are reaached.
 void export(java.io.Writer writer)
           
 AggregatorFunction getAggregator()
           
 NullXML newCopy()
          Return a new, clean object of this class with no common resources with the original beyond static resources of the class.
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
          Procedure called when inside this given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductXML

public ProductXML()
Method Detail

getAggregator

public AggregatorFunction getAggregator()
Specified by:
getAggregator in interface AggregatorXML

export

public void export(java.io.Writer writer)
            throws java.io.IOException
Specified by:
export in interface AggregatorXML
Throws:
java.io.IOException

newCopy

public NullXML newCopy()
Description copied from interface: XMLParserObject
Return a new, clean object of this class with no common resources with the original beyond static resources of the class.

Specified by:
newCopy in interface AggregatorXML
Specified by:
newCopy in interface XMLParserObject
Returns:
new object of this class

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Description copied from interface: XMLParserObject
Procedure called when inside this given object. If this object is 'UNITIALIZED' the state is changed to loading.

Specified by:
startElement in interface XMLParserObject
Throws:
org.xml.sax.SAXException
See Also:
DefaultHandler

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Description copied from interface: XMLParserObject
Procedure called for handling character data.

Specified by:
characters in interface XMLParserObject
Throws:
org.xml.sax.SAXException
See Also:
DefaultHandler

endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
Description copied from interface: XMLParserObject
Procedure called when end tags are reaached. If this completes the object, state is changed to READY

Specified by:
endElement in interface XMLParserObject
Throws:
org.xml.sax.SAXException
See Also:
DefaultHandler

buildingStatus

public XMLParserObject.State buildingStatus()
Description copied from interface: XMLParserObject
Returns whether or not the current object has been built from an XML file.

Specified by:
buildingStatus in interface XMLParserObject
Returns:
current state of the object

Get Relational Analysis Toolkit at SourceForge.net. Fast, secure and Free Open Source software downloads