Package org.hibernate.boot.jaxb.internal

Class AbstractBinder<T>

    • Constructor Detail

    • Method Detail

      • isValidationEnabled

        public abstract boolean isValidationEnabled()
      • bind

        public <X extendsTBinding<X> bind​(InputStream stream,Origin origin)
        Description copied from interface: Binder
        Bind from an InputStream
        Specified by:
        bind in interface Binder<T>
        Parameters:
        stream - The InputStream containing XML
        origin - The descriptor of the stream origin
        Returns:
        The bound JAXB model
      • bind

        public <X extendsTBinding<X> bind​(Source source,Origin origin)
        Description copied from interface: Binder
        Bind from an XML source.
        Specified by:
        bind in interface Binder<T>
        Parameters:
        source - The XML source.
        origin - The descriptor of the source origin
        Returns:
        The bound JAXB model
      • hasNamespace

        protected static boolean hasNamespace​(StartElement startElement)