| java.lang.Object org.jfree.xml.util.AbstractModelReader org.jfree.xml.generator.DefaultModelReader
Method Summary | |
protected void | endIncludeHandling() Ends include handling. | protected void | endMultiplexMapping() Ends a multiplex mapping.
throws: ObjectDescriptionException - if there is a problem with the object description. | protected void | endObjectDefinition() Finishes processing an object definition (sets the constructor and property info for the
class description, and adds the class description to the model). | protected void | endRootDocument() Ends the root document. | protected void | fillSuperClasses() Iterates through all the class descriptions in the model, setting the superclass
attribute in all cases where the superclass definitions are contained in the model. | protected PropertyDescriptor | getPropertyDescriptor(String propertyName) Returns a property descriptor for the named property, or null if there is
no descriptor with the given name.
Parameters: propertyName - the property name. | protected void | handleAttributeDefinition(String name, String attribName, String handlerClass) Handles the description of an attribute within an object definition. | protected void | handleConstructorDefinition(String tagName, String parameterClass) Handles the constructor definition. | protected void | handleElementDefinition(String name, String element) Handles the description of an element within an object definition. | protected void | handleIgnoredProperty(String name) Handles an ignored property. | protected void | handleLookupDefinition(String name, String lookupKey) Handles a lookup definition. | protected boolean | handleManualMapping(String className, String readHandler, String writeHandler) Handles a manual mapping.
Parameters: className - the class name. Parameters: readHandler - the read handler. Parameters: writeHandler - the write handler. | protected void | handleMultiplexMapping(String typeName, String className) Handles a multiplex mapping. | public synchronized DescriptionModel | load(String file) Loads a description model.
Parameters: file - the file name. | protected void | startIncludeHandling(URL resource) Starts include handling. | protected void | startMultiplexMapping(String className, String typeAttr) Start a multiplex mapping. | protected boolean | startObjectDefinition(String className, String register, boolean ignore) Begin processing an object definition element. | protected void | startRootDocument() Starts the root document. |
DefaultModelReader | public DefaultModelReader()(Code) | | Creates a new model reader.
|
endIncludeHandling | protected void endIncludeHandling()(Code) | | Ends include handling.
|
endObjectDefinition | protected void endObjectDefinition() throws ObjectDescriptionException(Code) | | Finishes processing an object definition (sets the constructor and property info for the
class description, and adds the class description to the model).
throws: ObjectDescriptionException - if there is a problem with the object description. |
endRootDocument | protected void endRootDocument()(Code) | | Ends the root document.
|
fillSuperClasses | protected void fillSuperClasses()(Code) | | Iterates through all the class descriptions in the model, setting the superclass
attribute in all cases where the superclass definitions are contained in the model.
|
getPropertyDescriptor | protected PropertyDescriptor getPropertyDescriptor(String propertyName)(Code) | | Returns a property descriptor for the named property, or null if there is
no descriptor with the given name.
Parameters: propertyName - the property name. a property descriptor. |
handleAttributeDefinition | protected void handleAttributeDefinition(String name, String attribName, String handlerClass) throws ObjectDescriptionException(Code) | | Handles the description of an attribute within an object definition.
Parameters: name - the name. Parameters: attribName - the attribute name. Parameters: handlerClass - the fully qualified class name for the attribute handler. throws: ObjectDescriptionException - if there is a problem with the object description. |
handleConstructorDefinition | protected void handleConstructorDefinition(String tagName, String parameterClass) throws ObjectDescriptionException(Code) | | Handles the constructor definition.
Parameters: tagName - the tag name. Parameters: parameterClass - the parameter class. throws: ObjectDescriptionException - if there is a problem with the object description. |
handleElementDefinition | protected void handleElementDefinition(String name, String element) throws ObjectDescriptionException(Code) | | Handles the description of an element within an object definition.
Parameters: name - the property name. Parameters: element - the element name. throws: ObjectDescriptionException - if there is a problem with the object description. |
handleIgnoredProperty | protected void handleIgnoredProperty(String name)(Code) | | Handles an ignored property.
Parameters: name - the name. |
handleManualMapping | protected boolean handleManualMapping(String className, String readHandler, String writeHandler) throws ObjectDescriptionException(Code) | | Handles a manual mapping.
Parameters: className - the class name. Parameters: readHandler - the read handler. Parameters: writeHandler - the write handler. A boolean. throws: ObjectDescriptionException - if there is a problem with the object description. |
startIncludeHandling | protected void startIncludeHandling(URL resource)(Code) | | Starts include handling.
Parameters: resource - the URL. |
startMultiplexMapping | protected void startMultiplexMapping(String className, String typeAttr)(Code) | | Start a multiplex mapping.
Parameters: className - the class name. Parameters: typeAttr - the type. |
startObjectDefinition | protected boolean startObjectDefinition(String className, String register, boolean ignore)(Code) | | Begin processing an object definition element.
Parameters: className - the class name. Parameters: register - the register name (null permitted). Parameters: ignore - ?? true if the class is available, and false otherwise. |
startRootDocument | protected void startRootDocument()(Code) | | Starts the root document.
|
Methods inherited from org.jfree.xml.util.AbstractModelReader | protected void endIncludeHandling()(Code)(Java Doc) abstract protected void endMultiplexMapping() throws ObjectDescriptionException(Code)(Java Doc) abstract protected void endObjectDefinition() throws ObjectDescriptionException(Code)(Java Doc) protected void endRootDocument()(Code)(Java Doc) protected String[] getCloseComment()(Code)(Java Doc) protected CommentHandler getCommentHandler()(Code)(Java Doc) protected String[] getOpenComment()(Code)(Java Doc) abstract protected void handleAttributeDefinition(String name, String attribName, String handlerClass) throws ObjectDescriptionException(Code)(Java Doc) abstract protected void handleConstructorDefinition(String propertyName, String parameterClass) throws ObjectDescriptionException(Code)(Java Doc) abstract protected void handleElementDefinition(String name, String element) throws ObjectDescriptionException(Code)(Java Doc) protected void handleIgnoredProperty(String name)(Code)(Java Doc) abstract protected void handleLookupDefinition(String name, String lookupKey) throws ObjectDescriptionException(Code)(Java Doc) abstract protected boolean handleManualMapping(String className, String readHandler, String writeHandler) throws ObjectDescriptionException(Code)(Java Doc) abstract protected void handleMultiplexMapping(String typeName, String className) throws ObjectDescriptionException(Code)(Java Doc) protected Class loadClass(String className)(Code)(Java Doc) protected void parseXml(URL resource) throws ObjectDescriptionException(Code)(Java Doc) protected void parseXmlDocument(URL resource, boolean isInclude) throws ObjectDescriptionException(Code)(Java Doc) protected void setCloseComment(String[] closeComment)(Code)(Java Doc) protected void setOpenComment(String[] openComment)(Code)(Java Doc) protected void startIncludeHandling(URL resource)(Code)(Java Doc) abstract protected void startMultiplexMapping(String className, String typeAttr)(Code)(Java Doc) abstract protected boolean startObjectDefinition(String className, String register, boolean ignored) throws ObjectDescriptionException(Code)(Java Doc) protected void startRootDocument()(Code)(Java Doc)
|
|
|