|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.cocoon.forms.binding.JXPathBindingManager
public class JXPathBindingManager
JXPathBindingManager provides an implementation of BindingManager
by
usage of the
JXPath package .
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.) |
Field Summary | |
---|---|
protected SimpleServiceSelector |
bindingBuilderSelector
|
protected DatatypeManager |
datatypeManager
|
protected LibraryManagerImpl |
libraryManager
|
protected ServiceManager |
manager
|
Fields inherited from interface org.apache.cocoon.forms.binding.BindingManager |
---|
NAMESPACE, ROLE |
Constructor Summary | |
---|---|
JXPathBindingManager()
|
Method Summary | |
---|---|
void |
configure(Configuration configuration)
|
void |
contextualize(Context context)
|
Binding |
createBinding(Element bindingElement)
Creates a binding from the XML config that is supplied as a DOM tree. |
Binding |
createBinding(Source source)
Creates a binding from the XML config found at source parameter. |
Binding |
createBinding(String bindingURI)
Creates a binding from the XML config found at bindingURI parameter. |
void |
dispose()
|
JXPathBindingManager.Assistant |
getBuilderAssistant()
|
protected Logger |
getMyLogger()
Java 1.3 logger access method. |
void |
initialize()
|
void |
service(ServiceManager manager)
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ServiceManager manager
protected DatatypeManager datatypeManager
protected SimpleServiceSelector bindingBuilderSelector
protected LibraryManagerImpl libraryManager
Constructor Detail |
---|
public JXPathBindingManager()
Method Detail |
---|
protected Logger getMyLogger()
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public void initialize() throws Exception
initialize
in interface Initializable
Exception
public Binding createBinding(Source source) throws BindingException
BindingManager
createBinding
in interface BindingManager
BindingException
public Binding createBinding(String bindingURI) throws BindingException
BindingManager
createBinding
in interface BindingManager
BindingException
public Binding createBinding(Element bindingElement) throws BindingException
BindingManager
The specified element must be a fb:context element.
The binding will not be cached.
createBinding
in interface BindingManager
BindingException
public JXPathBindingManager.Assistant getBuilderAssistant()
public void dispose()
dispose
in interface Disposable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |