org.geotools.xml.impl
Class BindingFactoryImpl

Object
  extended by BindingFactoryImpl
All Implemented Interfaces:
BindingFactory

public class BindingFactoryImpl
extends Object
implements BindingFactory


Constructor Summary
BindingFactoryImpl(BindingLoader loader)
           
 
Method Summary
 Binding createBinding(QName name)
          Creates the binding from a qualified name.
 void setContext(MutablePicoContainer context)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingFactoryImpl

public BindingFactoryImpl(BindingLoader loader)
Method Detail

createBinding

public Binding createBinding(QName name)
Description copied from interface: BindingFactory
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 );
 

Specified by:
createBinding in interface BindingFactory
Parameters:
name - The qualified name of a schema type, element, or attribute.
Returns:
The binding for name, or null.

setContext

public void setContext(MutablePicoContainer context)


Copyright © 1996-2010 Geotools. All Rights Reserved.