org.cybertory.MSS
Class X_GridMaLayout

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

public class X_GridMaLayout
extends XMLHandlerStd

XML wrapper for GridMaLayout. This class encapsulates the layout of a microarray with zones on a uniform grid, and where each zone has the same number of rows and columns.


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

public X_GridMaLayout()
               throws XMLUnhandledTypeException
Method Detail

typeDescription

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

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 data
altData - the background data context for parsing
Returns:
an object of the appropriate type
Throws:
XMLParseException
XMLUnhandledTypeException