Interface UnmarshalerListener

All Known Subinterfaces:
XMLUnmarshaler<T>
All Known Implementing Classes:
AbstractUnmarshaler, DOMUnmarshaler, SAXUnmarshaler

public interface UnmarshalerListener
Author:
Serhiy_Zahriychuk
  • Method Details

    • startMarshaling

      void startMarshaling()
      Start marshaling.
    • setAttribute

      void setAttribute(String name, String value)
      Sets attribute value for property name.
      Parameters:
      name - the property name
      value - the property value
    • lookup

      void lookup(String name, Attributes attributes)
      Find the property with given name in current node.
      Parameters:
      name - the name of an element
      attributes - the attributes of current element
      Throws:
      RuntimeException - if given property not found
    • startElement

      void startElement(String name)
      The start of element.
      Parameters:
      name - the name of an element
    • setValue

      void setValue(String value)
      Sets the value for current element.
      Parameters:
      value - the property value
    • endElement

      void endElement(String name)
      The end of element.
      Parameters:
      name - the name of an element
    • endMarshaling

      void endMarshaling()
      The end marshaling.