|
|||||||||
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.XMLHandlerArray
This class is to handle arrays of non-atomic types.
Field Summary |
Fields inherited from class org.cybertory.MSS.XMLHandler |
handledClass |
Constructor Summary | |
protected |
XMLHandlerArray(java.lang.Class cls,
XMLHandler componentHandler)
Constructor, should only be called from XMLHandler.getHandler(java.lang.Class) so as to
control the propagation of instances of handlers. |
Method Summary | |
protected boolean |
allowBackwardRef()
Allow data in the "defs" section, with later backward references ? |
protected boolean |
allowMultiple()
|
protected boolean |
needsTypedef()
Set up separate global typedef and always refer to it by type name ? |
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). |
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, schemaTypedef, typeDescription |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected XMLHandlerArray(java.lang.Class cls, XMLHandler componentHandler) throws XMLUnhandledTypeException
XMLHandler.getHandler(java.lang.Class)
so as to
control the propagation of instances of handlers.
cls
- which Class to handleMethod Detail |
protected boolean allowMultiple()
allowMultiple
in class XMLHandler
protected boolean allowBackwardRef()
allowBackwardRef
in class XMLHandler
protected boolean needsTypedef()
needsTypedef
in class XMLHandler
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()
XMLHandler
xmlTypeName
in class XMLHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |