Class Binding<T>

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      Binding​(T root, Origin origin)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Origin getOrigin()
      Obtain the metadata about the document's origin
      T getRoot()
      Obtain the root JAXB bound object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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