Class JaxbFragment<T>

  • All Implemented Interfaces:
    java.io.Serializable

    public class JaxbFragment<T>
    extends java.lang.Object
    implements java.io.Serializable
    JAXB element wrapper for java object serialization. Instances of JaxbFragment wrap a non-serializable JAXB element instance, and provide hooks into the java object serialization process that allow the elements to be safely marshalled and unmarshalled using ObjectOutputStream and ObjectInputStream, respectively.
    See Also:
    Serialized Form
    • Constructor Detail

      • JaxbFragment

        public JaxbFragment()
    • Method Detail

      • getInstance

        public T getInstance()
        Retrieves the JAXB element that is wrapped by this fragment.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object