Uses of Class
net.officefloor.plugin.xml.XmlMarshallException
-
-
Uses of XmlMarshallException in net.officefloor.plugin.xml
Methods in net.officefloor.plugin.xml that throw XmlMarshallException Modifier and Type Method Description void
XmlMarshaller. marshall(java.lang.Object source, XmlOutput output)
Marshalls the source object as XML to the output.void
XmlUnmarshaller. unmarshall(java.io.InputStream xml, java.lang.Object target)
Unmarshalls the input xml onto the input target object. -
Uses of XmlMarshallException in net.officefloor.plugin.xml.marshall.translate
Methods in net.officefloor.plugin.xml.marshall.translate that throw XmlMarshallException Modifier and Type Method Description Translator
TranslatorRegistry. getTranslator(java.lang.Class<?> type)
Obtains theTranslator
for the input type.java.lang.String
Translator. translate(java.lang.Object object)
Translates the object value into a string for XML. -
Uses of XmlMarshallException in net.officefloor.plugin.xml.marshall.tree
Methods in net.officefloor.plugin.xml.marshall.tree that throw XmlMarshallException Modifier and Type Method Description TreeXmlMarshaller
TreeXmlMarshallerFactory. createMarshaller(java.io.InputStream configuration)
Creates theTreeXmlMarshaller
from the input configuration.protected XmlSpecificContext
AbstractTypeXmlMapping. getMatchingContext(java.lang.Object specificObject)
Obtains the matchingXmlSpecificContext
for the input type.protected static java.lang.Object
XmlMarshallerUtil. getReturnValue(java.lang.Object source, java.lang.reflect.Method getMethod)
Obtains the return value from the input method on the source object.XmlSpecificContext
XmlContext. getSpecificContext(java.lang.Class<?> specificType)
Obtains theXmlSpecificContext
specific to the input type.protected void
XmlSpecificContext. loadAttributes(java.lang.Class<?> upperBoundType, XmlMappingMetaData[] attributes, TranslatorRegistry translatorRegistry)
Loads the attribute mappings for this context.void
AbstractXmlMapping. map(java.lang.Object object, XmlOutput output)
void
ProxyXmlMapping. map(java.lang.Object source, XmlOutput output)
void
ReferenceXmlMapping. map(java.lang.Object source, XmlOutput output)
void
StaticXmlMapping. map(java.lang.Object object, XmlOutput output)
void
TreeXmlMarshaller. map(java.lang.Object object, XmlOutput output)
void
XmlMapping. map(java.lang.Object object, XmlOutput output)
Maps the object into XML.void
TreeXmlMarshaller. marshall(java.lang.Object source, XmlOutput output)
void
XmlContext. marshall(java.lang.Object source, XmlOutput output)
Marshalls the source object as XML to the output.void
XmlSpecificContext. marshall(java.lang.Object source, XmlOutput output)
Does the marshalling of the source object to the output.protected static java.lang.Class<?>
XmlMarshallerUtil. obtainClass(java.lang.String className)
Obtains theClass
from its class name.protected static java.lang.reflect.Method
XmlMarshallerUtil. obtainMethod(java.lang.Class object, java.lang.String methodName)
Obtains the Method by its name from the input class.protected abstract void
AbstractTypeXmlMapping. writeSpecificXml(java.lang.Object object, XmlOutput output)
Writes the specific XML for the input object.protected void
CollectionXmlMapping. writeSpecificXml(java.lang.Object object, XmlOutput output)
protected void
TypeXmlMapping. writeSpecificXml(java.lang.Object object, XmlOutput output)
void
AbstractTypeXmlMapping. writeXml(java.lang.Object object, XmlOutput output)
void
AbstractValueXmlMapping. writeXml(java.lang.Object value, XmlOutput output)
protected abstract void
AbstractValueXmlMapping. writeXml(java.lang.String tagName, java.lang.String value, XmlOutput output)
Writes the XML.protected void
AttributeXmlMapping. writeXml(java.lang.String tagName, java.lang.String value, XmlOutput output)
void
ObjectXmlMapping. writeXml(java.lang.Object object, XmlOutput output)
void
StaticXmlMapping. writeXml(java.lang.Object object, XmlOutput output)
void
TreeXmlMarshaller. writeXml(java.lang.Object object, XmlOutput output)
protected void
ValueXmlMapping. writeXml(java.lang.String tagName, java.lang.String value, XmlOutput output)
protected static void
XmlMarshallerUtil. writeXml(java.lang.String xmlSnippet, XmlOutput output)
Writes the xml to the output.void
XmlWriter. writeXml(java.lang.Object object, XmlOutput output)
Writes the XML for the input object.Constructors in net.officefloor.plugin.xml.marshall.tree that throw XmlMarshallException Constructor Description AbstractTypeXmlMapping(java.lang.String elementName, java.lang.reflect.Method getMethod, XmlMappingMetaData[] items, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referenceRegistry)
Initiate with details to map specific sub-types.CollectionXmlMapping(java.lang.String elementName, java.lang.reflect.Method getMethod, XmlMappingMetaData[] items, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referenceRegistry)
Initiate with details to marshall theCollection
.ObjectXmlMapping(java.lang.String elementName, java.lang.reflect.Method getMethod, java.lang.Class<?> upperType, XmlMappingMetaData[] configuration, java.lang.String contextReference, XmlContext context, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referenceRegistry)
Initiate the object XML mapping.TreeXmlMarshaller(XmlMappingMetaData metaData, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referenceRegistry)
Initiate with details to marshall the object.TypeXmlMapping(java.lang.String elementName, java.lang.reflect.Method getMethod, XmlMappingMetaData[] items, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referenceRegistry)
Initiate with details to marshall theCollection
.XmlContext(java.lang.Class<?> upperType, java.lang.String elementName, XmlMappingMetaData[] configuration, boolean isCreateSpecificType, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referenceRegistry)
Initiate theXmlContext
from configuration.XmlSpecificContext(java.lang.Class<?> upperBoundType, java.lang.String contextElementName, XmlMappingMetaData[] configuration, XmlContext context, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referenceRegistry)
Initiate context from the upper bound type of the object.XmlSpecificContext(java.lang.Object source, java.lang.Class<?> sourceType, java.lang.String elementName, XmlMappingMetaData[] configuration, XmlContext context, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referenceRegistry)
Initiate context to specific concrete implementation of the object. -
Uses of XmlMarshallException in net.officefloor.plugin.xml.unmarshall.designate
Methods in net.officefloor.plugin.xml.unmarshall.designate that throw XmlMarshallException Modifier and Type Method Description void
DesignateXmlUnmarshaller. registerTreeXmlUnmarshaller(java.io.InputStream configuration)
Registers a delegateTreeXmlUnmarshaller
.java.lang.Object
DesignateXmlUnmarshaller. unmarshall(java.io.InputStream xml)
Unmarshalls the input XML returning the unmarshalled object. -
Uses of XmlMarshallException in net.officefloor.plugin.xml.unmarshall.flat
Methods in net.officefloor.plugin.xml.unmarshall.flat that throw XmlMarshallException Modifier and Type Method Description void
FlatXmlUnmarshaller. unmarshall(java.io.InputStream xml, java.lang.Object target)
Constructors in net.officefloor.plugin.xml.unmarshall.flat that throw XmlMarshallException Constructor Description FlatXmlUnmarshaller(FlatXmlUnmarshallerMetaData metaData)
Initiate with meta-data to unmarshall the XML.FlatXmlUnmarshallerMetaData(ValueLoaderFactory valueLoaderFactory, XmlMapping[] mappings)
Initiate. -
Uses of XmlMarshallException in net.officefloor.plugin.xml.unmarshall.load
Methods in net.officefloor.plugin.xml.unmarshall.load that throw XmlMarshallException Modifier and Type Method Description DynamicValueLoader
ValueLoaderFactory. createDynamicValueLoader(java.lang.String loadMethodName)
Creates theDynamicValueLoader
for the load method of the target object.ObjectLoader
ObjectLoaderFactory. createObjectLoader(java.lang.String loadMethodName, java.lang.Class<?> loadObjectType)
Creates theObjectLoader
for the load method of the target object.StaticValueLoader
ValueLoaderFactory. createStaticValueLoader(java.lang.String loadMethodName, java.lang.String value)
Creates theStaticValueLoader
for the load method of the target object.protected java.lang.reflect.Method
ObjectLoaderFactory. findMethod(java.lang.Class objectClass, java.lang.String methodName, java.lang.Class parameterClass)
Obtains the method of the input class by the input method name.java.lang.Object
ObjectLoader. loadObject(java.lang.Object targetObject)
Loads the object onto the target object and returns the loaded object.void
DynamicValueLoader. loadValue(java.lang.Object targetObject, java.lang.String value)
Loads the XML string value onto the target object.void
StaticValueLoader. loadValue(java.lang.Object targetObject)
Loads the static value onto the target object.protected void
AbstractValueLoader. setValue(java.lang.Object targetObject, java.lang.Object value)
Sets the value onto the target object. -
Uses of XmlMarshallException in net.officefloor.plugin.xml.unmarshall.translate
Methods in net.officefloor.plugin.xml.unmarshall.translate that throw XmlMarshallException Modifier and Type Method Description Translator
TranslatorRegistry. getTranslator(java.lang.Class<?> translateType)
Obtains theTranslator
to the specific type.java.lang.Object
Translator. translate(java.lang.String value)
Translates the XML string value to specific typed object. -
Uses of XmlMarshallException in net.officefloor.plugin.xml.unmarshall.tree
Methods in net.officefloor.plugin.xml.unmarshall.tree that throw XmlMarshallException Modifier and Type Method Description TreeXmlUnmarshaller
TreeXmlUnmarshallerFactory. createUnmarshaller(java.io.InputStream configuration)
Creates theTreeXmlUnmarshaller
from the input configuration.TreeXmlUnmarshaller
TreeXmlUnmarshallerFactory. createUnmarshaller(XmlMappingMetaData configuration)
Creates theTreeXmlUnmarshaller
from the input configuration.static XmlMappingMetaData
TreeXmlUnmarshallerManagedObjectSource. createXmlMappingMetaData(java.io.InputStream configuration, TranslatorRegistry translatorRegistry)
Creates theXmlMappingMetaData
from the input configuration.void
ObjectXmlMapping. endMapping(XmlState state, java.lang.String value)
void
RootXmlMapping. endMapping(XmlState state, java.lang.String value)
void
StaticXmlMapping. endMapping(XmlState state, java.lang.String elementName)
void
ValueXmlMapping. endMapping(XmlState state, java.lang.String value)
void
XmlMapping. endMapping(XmlState state, java.lang.String value)
Ends the load of the value/object to the target object based on the current context and state of unmarshalling.XmlMappingType
XmlMappingMetaData. getType()
Obtains the type of this mapping.void
XmlState. popContext()
Pops the previousXmlContext
off the stack and makes it the currentXmlContext
for XML unmarshalling.void
ObjectXmlMapping. startMapping(XmlState state, java.lang.String elementName)
void
RootXmlMapping. startMapping(XmlState state, java.lang.String elementName)
void
StaticXmlMapping. startMapping(XmlState state, java.lang.String elementName)
void
ValueXmlMapping. startMapping(XmlState state, java.lang.String elementName)
void
XmlMapping. startMapping(XmlState state, java.lang.String elementName)
Starts the load of the value/object to the target object based on the current context and state of unmarshalling.void
TreeXmlUnmarshaller. unmarshall(java.io.InputStream xml, java.lang.Object target)
Constructors in net.officefloor.plugin.xml.unmarshall.tree that throw XmlMarshallException Constructor Description TreeXmlUnmarshaller(XmlMappingMetaData metaData, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referenceRegistry)
Initiate with details to unmarshall the XML.XmlContext(java.lang.Class<?> targetObjectType, java.lang.String rootNode, XmlMappingMetaData[] configuration, TranslatorRegistry translatorRegistry, ReferencedXmlMappingRegistry referencedRegistry)
Constructor that should be used by external classes to instantiate this.XmlContext(java.lang.Class<?> targetObjectType, XmlMappingMetaData[] configuration, TranslatorRegistry translatorRegistry, java.lang.String outerElementName, XmlContext outerContext, ReferencedXmlMappingRegistry referencedRegistry)
Initiate theXmlContext
from configuration.
-