Class Binding<T>

  • All Implemented Interfaces:
    Serializable

    public class Binding<T>
    extends Object
    implements Serializable
    Represents a JAXB binding, as well as keeping information about the origin of the processed XML
    See Also:
    Serialized Form
    • Constructor Detail

      • Binding

        public Binding​(T root,
                       Origin origin)
    • Method Detail

      • getRoot

        public T getRoot()
        Obtain the root JAXB bound object
        Returns:
        The JAXB root object
      • getOrigin

        public Origin getOrigin()
        Obtain the metadata about the document's origin
        Returns:
        The origin