org.cybertory.MSS
Class X_Random

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

public class X_Random
extends XMLHandlerStd

XML wrapper for Random.


Field Summary
 
Fields inherited from class org.cybertory.MSS.XMLHandler
handledClass
 
Constructor Summary
X_Random()
           
 
Method Summary
 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.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_Random

public X_Random()
Method Detail

typeDescription

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

schemaTypedef

public org.jdom.Element schemaTypedef()
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

parseElement

public java.lang.Object parseElement(org.jdom.Element elem,
                                     XMLAltData altData)
                              throws XMLParseException
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 data
altData - the background data context for parsing
Returns:
an object of the appropriate type
Throws:
XMLParseException