nz.ac.waikato.mcennis.rat.graph.query.graph.xml
Class AndGraphQueryXML

java.lang.Object
  extended by nz.ac.waikato.mcennis.rat.graph.query.graph.xml.AndGraphQueryXML
All Implemented Interfaces:
GraphQueryXML, XMLParserObject

public class AndGraphQueryXML
extends java.lang.Object
implements GraphQueryXML


Nested Class Summary
 
Nested classes/interfaces inherited from interface nz.ac.waikato.mcennis.rat.XMLParserObject
XMLParserObject.State
 
Constructor Summary
AndGraphQueryXML()
           
 
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.
 GraphQuery getQuery()
           
 AndGraphQueryXML 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

AndGraphQueryXML

public AndGraphQueryXML()
Method Detail

getQuery

public GraphQuery getQuery()
Specified by:
getQuery in interface GraphQueryXML

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

newCopy

public AndGraphQueryXML 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 XMLParserObject
Returns:
new object of this class

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