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 voidXmlMarshaller. marshall(java.lang.Object source, XmlOutput output)Marshalls the source object as XML to the output.voidXmlUnmarshaller. 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 TranslatorTranslatorRegistry. getTranslator(java.lang.Class<?> type)Obtains theTranslatorfor the input type.java.lang.StringTranslator. 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 TreeXmlMarshallerTreeXmlMarshallerFactory. createMarshaller(java.io.InputStream configuration)Creates theTreeXmlMarshallerfrom the input configuration.protected XmlSpecificContextAbstractTypeXmlMapping. getMatchingContext(java.lang.Object specificObject)Obtains the matchingXmlSpecificContextfor the input type.protected static java.lang.ObjectXmlMarshallerUtil. getReturnValue(java.lang.Object source, java.lang.reflect.Method getMethod)Obtains the return value from the input method on the source object.XmlSpecificContextXmlContext. getSpecificContext(java.lang.Class<?> specificType)Obtains theXmlSpecificContextspecific to the input type.protected voidXmlSpecificContext. loadAttributes(java.lang.Class<?> upperBoundType, XmlMappingMetaData[] attributes, TranslatorRegistry translatorRegistry)Loads the attribute mappings for this context.voidAbstractXmlMapping. map(java.lang.Object object, XmlOutput output)voidProxyXmlMapping. map(java.lang.Object source, XmlOutput output)voidReferenceXmlMapping. map(java.lang.Object source, XmlOutput output)voidStaticXmlMapping. map(java.lang.Object object, XmlOutput output)voidTreeXmlMarshaller. map(java.lang.Object object, XmlOutput output)voidXmlMapping. map(java.lang.Object object, XmlOutput output)Maps the object into XML.voidTreeXmlMarshaller. marshall(java.lang.Object source, XmlOutput output)voidXmlContext. marshall(java.lang.Object source, XmlOutput output)Marshalls the source object as XML to the output.voidXmlSpecificContext. 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 theClassfrom its class name.protected static java.lang.reflect.MethodXmlMarshallerUtil. obtainMethod(java.lang.Class object, java.lang.String methodName)Obtains the Method by its name from the input class.protected abstract voidAbstractTypeXmlMapping. writeSpecificXml(java.lang.Object object, XmlOutput output)Writes the specific XML for the input object.protected voidCollectionXmlMapping. writeSpecificXml(java.lang.Object object, XmlOutput output)protected voidTypeXmlMapping. writeSpecificXml(java.lang.Object object, XmlOutput output)voidAbstractTypeXmlMapping. writeXml(java.lang.Object object, XmlOutput output)voidAbstractValueXmlMapping. writeXml(java.lang.Object value, XmlOutput output)protected abstract voidAbstractValueXmlMapping. writeXml(java.lang.String tagName, java.lang.String value, XmlOutput output)Writes the XML.protected voidAttributeXmlMapping. writeXml(java.lang.String tagName, java.lang.String value, XmlOutput output)voidObjectXmlMapping. writeXml(java.lang.Object object, XmlOutput output)voidStaticXmlMapping. writeXml(java.lang.Object object, XmlOutput output)voidTreeXmlMarshaller. writeXml(java.lang.Object object, XmlOutput output)protected voidValueXmlMapping. writeXml(java.lang.String tagName, java.lang.String value, XmlOutput output)protected static voidXmlMarshallerUtil. writeXml(java.lang.String xmlSnippet, XmlOutput output)Writes the xml to the output.voidXmlWriter. 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 theXmlContextfrom 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 voidDesignateXmlUnmarshaller. registerTreeXmlUnmarshaller(java.io.InputStream configuration)Registers a delegateTreeXmlUnmarshaller.java.lang.ObjectDesignateXmlUnmarshaller. 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 voidFlatXmlUnmarshaller. 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 DynamicValueLoaderValueLoaderFactory. createDynamicValueLoader(java.lang.String loadMethodName)Creates theDynamicValueLoaderfor the load method of the target object.ObjectLoaderObjectLoaderFactory. createObjectLoader(java.lang.String loadMethodName, java.lang.Class<?> loadObjectType)Creates theObjectLoaderfor the load method of the target object.StaticValueLoaderValueLoaderFactory. createStaticValueLoader(java.lang.String loadMethodName, java.lang.String value)Creates theStaticValueLoaderfor the load method of the target object.protected java.lang.reflect.MethodObjectLoaderFactory. 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.ObjectObjectLoader. loadObject(java.lang.Object targetObject)Loads the object onto the target object and returns the loaded object.voidDynamicValueLoader. loadValue(java.lang.Object targetObject, java.lang.String value)Loads the XML string value onto the target object.voidStaticValueLoader. loadValue(java.lang.Object targetObject)Loads the static value onto the target object.protected voidAbstractValueLoader. 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 TranslatorTranslatorRegistry. getTranslator(java.lang.Class<?> translateType)Obtains theTranslatorto the specific type.java.lang.ObjectTranslator. 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 TreeXmlUnmarshallerTreeXmlUnmarshallerFactory. createUnmarshaller(java.io.InputStream configuration)Creates theTreeXmlUnmarshallerfrom the input configuration.TreeXmlUnmarshallerTreeXmlUnmarshallerFactory. createUnmarshaller(XmlMappingMetaData configuration)Creates theTreeXmlUnmarshallerfrom the input configuration.static XmlMappingMetaDataTreeXmlUnmarshallerManagedObjectSource. createXmlMappingMetaData(java.io.InputStream configuration, TranslatorRegistry translatorRegistry)Creates theXmlMappingMetaDatafrom the input configuration.voidObjectXmlMapping. endMapping(XmlState state, java.lang.String value)voidRootXmlMapping. endMapping(XmlState state, java.lang.String value)voidStaticXmlMapping. endMapping(XmlState state, java.lang.String elementName)voidValueXmlMapping. endMapping(XmlState state, java.lang.String value)voidXmlMapping. 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.XmlMappingTypeXmlMappingMetaData. getType()Obtains the type of this mapping.voidXmlState. popContext()Pops the previousXmlContextoff the stack and makes it the currentXmlContextfor XML unmarshalling.voidObjectXmlMapping. startMapping(XmlState state, java.lang.String elementName)voidRootXmlMapping. startMapping(XmlState state, java.lang.String elementName)voidStaticXmlMapping. startMapping(XmlState state, java.lang.String elementName)voidValueXmlMapping. startMapping(XmlState state, java.lang.String elementName)voidXmlMapping. 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.voidTreeXmlUnmarshaller. 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 theXmlContextfrom configuration.
-