Interface BindingFactory

  • All Known Implementing Classes:

    public interface BindingFactory
    Creates the binding for a qualified name.

    An instance of this factory is placed in the context and available to bindings via constructor injection.

    Justin Deoliveira, The Open Planning Project
    • Method Detail

      • createBinding

        Binding createBinding​(QName name)
        Creates the binding from a qualified name.

        Example usage.

         //Load the binding for xs int
         QName name = new QName( "", "int" );
         Binding binding = bindingFactory.createBinding( name );
        name - The qualified name of a schema type, element, or attribute.
        The binding for name, or null.