org.geotools.xml.impl
Class BindingLoader
java.lang.Object
org.geotools.xml.impl.BindingLoader
public class BindingLoader
- extends java.lang.Object
Method Summary |
protected org.picocontainer.ComponentAdapter |
getBinding(javax.xml.namespace.QName type)
Returns the component adapter for a binding with the specified name. |
Binding |
loadBinding(javax.xml.namespace.QName qName,
java.lang.Class bindingClass,
org.picocontainer.MutablePicoContainer context)
Loads a binding with a specifc class into a context. |
Binding |
loadBinding(javax.xml.namespace.QName qName,
org.picocontainer.MutablePicoContainer context)
Loads a binding with a specifc QName into a context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindingLoader
public BindingLoader(java.util.Map bindings)
loadBinding
public Binding loadBinding(javax.xml.namespace.QName qName,
org.picocontainer.MutablePicoContainer context)
- Loads a binding with a specifc QName into a context.
- Parameters:
qName
- The qualified name of the type of the binding object.context
- The context which is to contain the binding.
- Returns:
- The binding object of the associated type, otherwise null if
no such binding could be created.
loadBinding
public Binding loadBinding(javax.xml.namespace.QName qName,
java.lang.Class bindingClass,
org.picocontainer.MutablePicoContainer context)
- Loads a binding with a specifc class into a context.
- Parameters:
bindingClass
- The class of the binding.context
- The context which is to contain the binding.
- Returns:
- The binding object of the associated type, otherwise null if
no such binding could be created.
getBinding
protected org.picocontainer.ComponentAdapter getBinding(javax.xml.namespace.QName type)
- Returns the component adapter for a binding with the specified name.
- Parameters:
type
- The qualified name of the type of the binding.
- Returns:
- The binding class, or null if no such class exists.
Copyright © 1996-2010 Geotools. All Rights Reserved.