Interface XmlMapping

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void 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.
      void 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.
    • Method Detail

      • startMapping

        void startMapping​(XmlState state,
                          java.lang.String elementName)
                   throws XmlMarshallException
        Starts the load of the value/object to the target object based on the current context and state of unmarshalling.
        Parameters:
        state - Current state of XML unmarshalling.
        elementName - Name of element/attribute being mapped.
        Throws:
        XmlMarshallException - If fail to load XML mapping.
      • endMapping

        void endMapping​(XmlState state,
                        java.lang.String value)
                 throws XmlMarshallException
        Ends the load of the value/object to the target object based on the current context and state of unmarshalling.
        Parameters:
        state - state of XML unmarshalling.
        value - Value of the element/attribute.
        Throws:
        XmlMarshallException - If fail to load XML mapping.