Package | Description |
---|---|
org.jfree.xml.generator |
XML generatorBeanInfoBeanInfoBeanInfo.
|
org.jfree.xml.parser |
XML parser.
|
org.jfree.xml.util |
Utility classes for the XML framework.
|
org.jfree.xml.writer |
Core classes for writing XML files.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultModelReader.endMultiplexMapping()
Ends a multiplex mapping.
|
protected void |
DefaultModelReader.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 |
DefaultModelReader.handleAttributeDefinition(java.lang.String name,
java.lang.String attribName,
java.lang.String handlerClass)
Handles the description of an attribute within an object definition.
|
protected void |
DefaultModelReader.handleConstructorDefinition(java.lang.String tagName,
java.lang.String parameterClass)
Handles the constructor definition.
|
protected void |
DefaultModelReader.handleElementDefinition(java.lang.String name,
java.lang.String element)
Handles the description of an element within an object definition.
|
protected void |
DefaultModelReader.handleLookupDefinition(java.lang.String name,
java.lang.String lookupKey)
Handles a lookup definition.
|
protected boolean |
DefaultModelReader.handleManualMapping(java.lang.String className,
java.lang.String readHandler,
java.lang.String writeHandler)
Handles a manual mapping.
|
protected void |
DefaultModelReader.handleMultiplexMapping(java.lang.String typeName,
java.lang.String className)
Handles a multiplex mapping.
|
DescriptionModel |
DefaultModelReader.load(java.lang.String file)
Loads a description model.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlReaderException
An XML reader exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
GenericObjectFactory.createObject()
Creates an object according to the definition.
|
protected void |
ObjectFactoryLoader.endMultiplexMapping()
Finializes the multiplexer mapping.
|
protected abstract void |
AbstractModelReader.endMultiplexMapping()
Finializes the multiplexer mapping.
|
protected void |
ObjectFactoryLoader.endObjectDefinition()
Finializes the object definition.
|
protected abstract void |
AbstractModelReader.endObjectDefinition()
Finializes the object definition.
|
PropertyDefinition |
GenericObjectFactory.getPropertyDefinitionByPropertyName(java.lang.String propertyName)
Returns the property definition for the specified property name.
|
PropertyDefinition |
GenericObjectFactory.getPropertyDefinitionByTagName(java.lang.String tagName)
Returns a property definition for the specified tag name.
|
java.lang.Class |
GenericObjectFactory.getTypeForTagName(java.lang.String tagName)
Returns the class for a tag name.
|
protected void |
ObjectFactoryLoader.handleAttributeDefinition(java.lang.String name,
java.lang.String attribName,
java.lang.String handlerClass)
Handles an attribute definition.
|
protected abstract void |
AbstractModelReader.handleAttributeDefinition(java.lang.String name,
java.lang.String attribName,
java.lang.String handlerClass)
Handles an attribute definition.
|
protected abstract void |
AbstractModelReader.handleConstructorDefinition(java.lang.String propertyName,
java.lang.String parameterClass)
Handles a constructor definition.
|
protected void |
ObjectFactoryLoader.handleElementDefinition(java.lang.String name,
java.lang.String element)
Handles an element definition.
|
protected abstract void |
AbstractModelReader.handleElementDefinition(java.lang.String name,
java.lang.String element)
Handles an element definition.
|
protected void |
ObjectFactoryLoader.handleLookupDefinition(java.lang.String name,
java.lang.String lookupKey)
Handles an lookup definition.
|
protected abstract void |
AbstractModelReader.handleLookupDefinition(java.lang.String name,
java.lang.String lookupKey)
Handles an lookup definition.
|
protected boolean |
ObjectFactoryLoader.handleManualMapping(java.lang.String className,
java.lang.String readHandler,
java.lang.String writeHandler)
Handles a manual mapping definition.
|
protected abstract boolean |
AbstractModelReader.handleManualMapping(java.lang.String className,
java.lang.String readHandler,
java.lang.String writeHandler)
Handles a manual mapping definition.
|
protected void |
ObjectFactoryLoader.handleMultiplexMapping(java.lang.String typeName,
java.lang.String className)
Defines an entry for the multiplex mapping.
|
protected abstract void |
AbstractModelReader.handleMultiplexMapping(java.lang.String typeName,
java.lang.String className)
Defines an entry for the multiplex mapping.
|
private AttributeHandler |
ObjectFactoryLoader.loadAttributeHandler(java.lang.String attribute)
Loads an instantiates the attribute handler specified by the given
class name.
|
protected void |
AbstractModelReader.parseXml(java.net.URL resource)
Parses an XML document at the given URL.
|
protected void |
AbstractModelReader.parseXmlDocument(java.net.URL resource,
boolean isInclude)
Parses the given specification and loads all includes specified in the files.
|
void |
GenericObjectFactory.readProperties(java.lang.Object object)
Reads the properties.
|
private void |
ObjectFactoryLoader.rebuildSuperClasses() |
void |
GenericObjectFactory.setProperty(java.lang.String propertyName,
java.lang.Object value)
Sets a property value.
|
protected boolean |
ObjectFactoryLoader.startObjectDefinition(java.lang.String className,
java.lang.String register,
boolean ignore)
Starts a object definition.
|
protected abstract boolean |
AbstractModelReader.startObjectDefinition(java.lang.String className,
java.lang.String register,
boolean ignored)
Starts a object definition.
|
private void |
AbstractModelReader.SAXModelHandler.startObjectElement(java.lang.String qName,
org.xml.sax.Attributes attributes)
Handles the start of an element within an object definition.
|
private void |
AbstractModelReader.SAXModelHandler.startRootElement(java.lang.String qName,
org.xml.sax.Attributes attributes)
Handles the include or object tag.
|
void |
GenericObjectFactory.writeObjectProperties(java.lang.Object object)
Writes the properties for the object.
|
Constructor and Description |
---|
GenericObjectFactory(java.lang.Class c,
java.lang.String registerName,
ConstructorDefinition[] constructors,
PropertyDefinition[] propertyDefinitions,
LookupDefinition[] lookupDefinitions,
AttributeDefinition[] attributeDefinitions,
java.lang.String[] orderedPropertyNames)
Creates a new generic object factory.
|
ObjectFactoryLoader(java.net.URL resourceName)
Creates a new object factory loader for the given base file.
|
Modifier and Type | Class and Description |
---|---|
class |
XMLWriterException
An exception that can be thrown by the
XMLWriter class. |