Class Binding<T>

java.lang.Object
org.hibernate.boot.jaxb.spi.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:
  • Constructor Details

    • Binding

      public Binding(T root, Origin origin)
  • Method Details

    • 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