org.cybertory.MSS
Class X_RenderedImage
java.lang.Object
org.cybertory.MSS.XMLHandler
org.cybertory.MSS.XMLHandlerStd
org.cybertory.MSS.X_RenderedImage
- All Implemented Interfaces:
- java.lang.Comparable
- public class X_RenderedImage
- extends XMLHandlerStd
XML wrapper for RenderedImage.
You can get rendered images (that don't conform to the float model)
into the system in 3 ways:
1) From an image library.
2) From a specific file.
3) Passed in as an external object.
Method Summary |
java.lang.Object |
parseElement(org.jdom.Element elem,
XMLAltData altData)
Given a jdom Element object (with children), construct a RenderedImage
instance. |
org.jdom.Element |
schemaTypedef()
Produces an 'xsd:element' component of an XML schema for the
RenderedImage. |
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_RenderedImage
public X_RenderedImage()
throws XMLUnhandledTypeException
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
RenderedImage. 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 RenderedImage
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 RenderedImage object
- Throws:
XMLParseException
XMLUnhandledTypeException