org.geotools.xml
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 Summary
 Binding createBinding(javax.xml.namespace.QName name)
          Creates the binding from a qualified name.
 

Method Detail

createBinding

Binding createBinding(javax.xml.namespace.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.


Copyright © 1996-2010 Geotools. All Rights Reserved.