org.apache.cocoon.forms.binding
Class JXPathBindingManager
java.lang.Object
org.apache.cocoon.forms.binding.JXPathBindingManager
- All Implemented Interfaces:
- BindingManager
- public class JXPathBindingManager
- extends Object
- implements BindingManager
JXPathBindingManager provides an implementation of BindingManager
by
usage of the
JXPath package .
- Version:
- $Id: JXPathBindingManager.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Nested Class Summary |
class |
JXPathBindingManager.Assistant
Assistant Inner class discloses enough features to the created
childBindings to recursively
This patterns was chosen to prevent Inversion Of Control between this
factory and its builder classes (that could be provided by third
parties.) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
datatypeManager
protected DatatypeManager datatypeManager
bindingBuilders
protected Map bindingBuilders
libraryManager
protected LibraryManagerImpl libraryManager
JXPathBindingManager
public JXPathBindingManager()
createBinding
public Binding createBinding(Source source)
throws BindingException
- Description copied from interface:
BindingManager
- Creates a binding from the XML config found at source parameter.
The binding will be cached.
- Specified by:
createBinding
in interface BindingManager
- Throws:
BindingException
createBinding
public Binding createBinding(String bindingURI)
throws BindingException
- Description copied from interface:
BindingManager
- Creates a binding from the XML config found at bindingURI parameter.
The binding will be cached.
- Specified by:
createBinding
in interface BindingManager
- Throws:
BindingException
createBinding
public Binding createBinding(Element bindingElement)
throws BindingException
- Description copied from interface:
BindingManager
- Creates a binding from the XML config that is supplied as a DOM tree.
The specified element must be a fb:context element.
The binding will not be cached.
- Specified by:
createBinding
in interface BindingManager
- Throws:
BindingException
getBuilderAssistant
public JXPathBindingManager.Assistant getBuilderAssistant()
setDatatypeManager
public void setDatatypeManager(DatatypeManager datatypeManager)
setCacheManager
public void setCacheManager(CacheManager cacheManager)
setBindingBuilders
public void setBindingBuilders(Map bindingBuilders)
setParser
public void setParser(org.apache.cocoon.core.xml.SAXParser parser)
setLibraryManager
public void setLibraryManager(LibraryManagerImpl libraryManager)
setSourceResolver
public void setSourceResolver(SourceResolver sourceResolver)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.