org.cybertory.MSS
Class X_IntensitiesFileReader
java.lang.Object
org.cybertory.MSS.XMLHandler
org.cybertory.MSS.XMLHandlerStd
org.cybertory.MSS.X_IntensitiesFileReader
- All Implemented Interfaces:
- java.lang.Comparable
- public class X_IntensitiesFileReader
- extends XMLHandlerStd
XML wrapper for IntensitiesFileReader.
Method Summary |
static org.jdom.Element |
enumElem(java.lang.String value)
|
static int |
idFromString(java.lang.String columnStr)
|
java.lang.Object |
parseElement(org.jdom.Element elem,
XMLAltData altData)
Given that the element already extracted from it's context, parse
the data (whose type should match that of the handler). |
org.jdom.Element |
schemaTypedef()
Generate Schema type definition for the class (using JDOM). |
java.lang.String |
typeDescription()
|
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 |
X_IntensitiesFileReader
public X_IntensitiesFileReader()
throws XMLUnhandledTypeException
typeDescription
public java.lang.String typeDescription()
- Overrides:
typeDescription
in class XMLHandler
idFromString
public static int idFromString(java.lang.String columnStr)
enumElem
public static org.jdom.Element enumElem(java.lang.String value)
schemaTypedef
public org.jdom.Element schemaTypedef()
throws XMLUnhandledTypeException
- Description copied from class:
XMLHandlerStd
- Generate Schema type definition for the class (using JDOM).
- Specified by:
schemaTypedef
in class XMLHandlerStd
- Returns:
- a JDOM Element with schema for type
- Throws:
XMLUnhandledTypeException
parseElement
public java.lang.Object parseElement(org.jdom.Element elem,
XMLAltData altData)
throws XMLParseException,
XMLUnhandledTypeException
- Description copied from class:
XMLHandlerStd
- Given that the element already extracted from it's context, parse
the data (whose type should match that of the handler).
- Specified by:
parseElement
in class XMLHandlerStd
- Parameters:
elem
- the JDOM element containing the dataaltData
- the background data context for parsing
- Returns:
- an object of the appropriate type
- Throws:
XMLParseException
XMLUnhandledTypeException