nz.ac.waikato.mcennis.rat.graph.property.xml
Class DoubleXML

java.lang.Object
  extended by nz.ac.waikato.mcennis.rat.graph.property.xml.DoubleXML
All Implemented Interfaces:
PropertyValueXML<java.lang.Double>, XMLParserObject

public class DoubleXML
extends java.lang.Object
implements PropertyValueXML<java.lang.Double>


Nested Class Summary
 
Nested classes/interfaces inherited from interface nz.ac.waikato.mcennis.rat.XMLParserObject
XMLParserObject.State
 
Constructor Summary
DoubleXML()
           
 
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)
           
 java.lang.String getClassName()
           
 java.lang.Double getProperty()
           
 DoubleXML newCopy()
          Return a new, clean object of this class with no common resources with the original beyond static resources of the class.
 void setProperty(java.lang.Double type)
           
 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

DoubleXML

public DoubleXML()
Method Detail

getProperty

public java.lang.Double getProperty()
Specified by:
getProperty in interface PropertyValueXML<java.lang.Double>

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 DoubleXML 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 PropertyValueXML<java.lang.Double>
Specified by:
newCopy in interface XMLParserObject
Returns:
new object of this class

setProperty

public void setProperty(java.lang.Double type)
Specified by:
setProperty in interface PropertyValueXML<java.lang.Double>

export

public void export(java.io.Writer writer)
            throws java.io.IOException
Specified by:
export in interface PropertyValueXML<java.lang.Double>
Throws:
java.io.IOException

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface PropertyValueXML<java.lang.Double>

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