Class AbstractBinder

    • Constructor Detail

      • AbstractBinder

        protected AbstractBinder​(ClassLoaderService classLoaderService,
                                 boolean validateXml)
    • Method Detail

      • isValidationEnabled

        public boolean isValidationEnabled()
      • bind

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

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

        protected static boolean hasNamespace​(StartElement startElement)