org.cybertory.MSS
Class X_IFunctionFromName

java.lang.Object
  extended byorg.cybertory.MSS.XMLHandler
      extended byorg.cybertory.MSS.XMLHandlerStd
          extended byorg.cybertory.MSS.X_IFunctionFromName
All Implemented Interfaces:
java.lang.Comparable

public class X_IFunctionFromName
extends XMLHandlerStd

XML wrapper for ImageFunction instantiated from a class name.


Field Summary
 
Fields inherited from class org.cybertory.MSS.XMLHandler
handledClass
 
Constructor Summary
X_IFunctionFromName()
           
 
Method Summary
 java.lang.Object parseElement(org.jdom.Element elem, XMLAltData altData)
          Given a jdom Element object (with children), construct a FeaturesSpecs instance.
 org.jdom.Element schemaTypedef()
          Produces an 'xsd:element' component of an XML schema for the FeaturesSpecs.
 java.lang.String typeDescription()
           
 
Methods inherited from class org.cybertory.MSS.XMLHandlerStd
allowBackwardRef, allowMultiple, needsTypedef, xmlTypeName
 
Methods inherited from class org.cybertory.MSS.XMLHandler
alternateElement, compareTo, extractChildren, getAllHandlers, getHandledClasses, getHandler, getHandlersDefs, getXMLChildFilter, getXMLChildFilter, handledClass, handlersReport, parseChildren, parseRequest, parseXMLDocument, schemaDocument, schemaInContext, schemaInContext, schemaInContext, schemaInContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X_IFunctionFromName

public X_IFunctionFromName()
                    throws XMLUnhandledTypeException
Method Detail

typeDescription

public java.lang.String typeDescription()
Overrides:
typeDescription in class XMLHandler

schemaTypedef

public org.jdom.Element schemaTypedef()
                               throws XMLUnhandledTypeException
Produces an 'xsd:element' component of an XML schema for the FeaturesSpecs. Note this is not a typedef.

Specified by:
schemaTypedef in class XMLHandlerStd
Returns:
jdom data structure, rooted with an Element object
Throws:
XMLUnhandledTypeException

parseElement

public java.lang.Object parseElement(org.jdom.Element elem,
                                     XMLAltData altData)
                              throws XMLParseException,
                                     XMLUnhandledTypeException
Given a jdom Element object (with children), construct a FeaturesSpecs instance.

Specified by:
parseElement in class XMLHandlerStd
Parameters:
elem - jdom element describing the object to be instantiated.
altData - the background data context for parsing
Returns:
the instantiated FeaturesSpecs object
Throws:
XMLParseException
XMLUnhandledTypeException