|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cybertory.MSS.XMLHandler
org.cybertory.MSS.XMLHandlerSuper
Class for automatic generation of XML handlers for super classes of the custom handlers.
Field Summary |
Fields inherited from class org.cybertory.MSS.XMLHandler |
handledClass |
Constructor Summary | |
XMLHandlerSuper(java.lang.Class cls)
|
Method Summary | |
boolean |
allowBackwardRef()
Allow multiple elements for this data type ? |
boolean |
allowMultiple()
|
boolean |
needsTypedef()
Allow data in the "defs" section, with later backward references ? |
protected 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 |
xmlTypeName()
Return the label to be used in the name of schema type defs. |
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, typeDescription |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLHandlerSuper(java.lang.Class cls) throws XMLUnhandledTypeException
Method Detail |
public boolean needsTypedef()
XMLHandler
needsTypedef
in class XMLHandler
public boolean allowBackwardRef()
XMLHandler
allowBackwardRef
in class XMLHandler
public boolean allowMultiple()
allowMultiple
in class XMLHandler
public org.jdom.Element schemaTypedef() throws XMLUnhandledTypeException
schemaTypedef
in class XMLHandler
XMLUnhandledTypeException
protected java.lang.Object parseElement(org.jdom.Element elem, XMLAltData altData) throws XMLParseException, XMLUnhandledTypeException
parseElement
in class XMLHandler
elem
- the JDOM element containing the dataaltData
- the background data context for parsing
XMLParseException
XMLUnhandledTypeException
public java.lang.String xmlTypeName()
xmlTypeName
in class XMLHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |