Class SequencedUnmarshalContext

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAttributeValue​(UnmarshalRecord unmarshalRecord, ContainerValue containerValue, java.lang.Object value)
      When a collection mapping is processed the UnmarshalContext is responsible for handling the values one at a time.
      void addAttributeValue​(UnmarshalRecord unmarshalRecord, ContainerValue containerValue, java.lang.Object value, java.lang.Object collection)
      When a collection mapping is processed the UnmarshalContext is responsible for handling the values one at a time.
      void characters​(UnmarshalRecord unmarshalRecord)
      An event indicating that characters has been called on the unmarshalRecord.
      void endElement​(UnmarshalRecord unmarshalRecord)
      An event indicating that endElement has been called on the unmarshalRecord.
      void reference​(Reference reference)  
      void setAttributeValue​(UnmarshalRecord unmarshalRecord, java.lang.Object value, Mapping mapping)
      The UnmarshalContext is responsible for assigning values to the object being built.
      void startElement​(UnmarshalRecord unmarshalRecord)
      An event indicating that startElement has been called on the unmarshalRecord.
      void unmappedContent​(UnmarshalRecord unmarshalRecord)
      This method is called when unmapped content (XML content that does not correspond to any specified mapping, policy, etc.) is encountered during the unmarshal process.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SequencedUnmarshalContext

        public SequencedUnmarshalContext()
    • Method Detail

      • startElement

        public void startElement​(UnmarshalRecord unmarshalRecord)
        Description copied from interface: UnmarshalContext
        An event indicating that startElement has been called on the unmarshalRecord.
        Specified by:
        startElement in interface UnmarshalContext
        Parameters:
        unmarshalRecord - The UnmarshalRecord that received the startElement call.
      • characters

        public void characters​(UnmarshalRecord unmarshalRecord)
        Description copied from interface: UnmarshalContext
        An event indicating that characters has been called on the unmarshalRecord.
        Specified by:
        characters in interface UnmarshalContext
        Parameters:
        unmarshalRecord - The UnmarshalRecord that received the characters call.
      • endElement

        public void endElement​(UnmarshalRecord unmarshalRecord)
        Description copied from interface: UnmarshalContext
        An event indicating that endElement has been called on the unmarshalRecord.
        Specified by:
        endElement in interface UnmarshalContext
        Parameters:
        unmarshalRecord - The UnmarshalRecord that received the endElement call.
      • addAttributeValue

        public void addAttributeValue​(UnmarshalRecord unmarshalRecord,
                                      ContainerValue containerValue,
                                      java.lang.Object value)
        Description copied from interface: UnmarshalContext
        When a collection mapping is processed the UnmarshalContext is responsible for handling the values one at a time.
        Specified by:
        addAttributeValue in interface UnmarshalContext
        containerValue - A container object such as a java.util.ArrayList, to which the value will be added.
        value - The value to be added to the container,
      • addAttributeValue

        public void addAttributeValue​(UnmarshalRecord unmarshalRecord,
                                      ContainerValue containerValue,
                                      java.lang.Object value,
                                      java.lang.Object collection)
        Description copied from interface: UnmarshalContext
        When a collection mapping is processed the UnmarshalContext is responsible for handling the values one at a time.
        Specified by:
        addAttributeValue in interface UnmarshalContext
        containerValue - A container object such as a java.util.ArrayList, to which the value will be added.
        value - The value to be added to the container,
      • unmappedContent

        public void unmappedContent​(UnmarshalRecord unmarshalRecord)
        Description copied from interface: UnmarshalContext
        This method is called when unmapped content (XML content that does not correspond to any specified mapping, policy, etc.) is encountered during the unmarshal process.
        Specified by:
        unmappedContent in interface UnmarshalContext
        Parameters:
        unmarshalRecord - The UnmarshalRecord that encountered the unmapped content .