Interface BindingFactory

  • All Known Implementing Classes:
    BindingFactoryImpl

    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.

    Author:
    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( "http://www.w3.org/2001/XMLSchema", "int" );
         Binding binding = bindingFactory.createBinding( name );
         
        Parameters:
        name - The qualified name of a schema type, element, or attribute.
        Returns:
        The binding for name, or null.