public interface ElementLanguage
Modifier and Type | Method and Description |
---|---|
void |
addDirtyElement(Element element,
X4OPhase phase)
Marks an (new) Element as dirty and run the phases from this start phase.
|
void |
addElementLanguageModule(ElementLanguageModule elementLanguageModule)
Adds an ElementLanguageModule to this language.
|
List<ElementBindingHandler> |
findElementBindingHandlers(Object parent,
Object child)
Gets all ElementBindingHandlers.
|
List<ElementInterface> |
findElementInterfaces(Object object)
Returns list of ElementInterfaces for an element.
|
ElementNamespaceContext |
findElementNamespaceContext(String namespaceUri)
Returns the namespace context for an namespace uri.
|
X4OPhase |
getCurrentX4OPhase()
Returns the current X4OPhase of the parser.
|
Map<Element,X4OPhase> |
getDirtyElements()
Get all Dirty Elements.
|
javax.el.ELContext |
getELContext()
Gets the EL Context.
|
ElementAttributeValueParser |
getElementAttributeValueParser() |
List<ElementLanguageModule> |
getElementLanguageModules() |
ElementObjectPropertyValue |
getElementObjectPropertyValue() |
javax.el.ExpressionFactory |
getExpressionFactory()
Gets the ExpressionFactory.
|
X4OLanguageConfiguration |
getLanguageConfiguration() |
Element |
getRootElement()
Returns the root Element which starts the xml tree.
|
void |
setCurrentX4OPhase(X4OPhase phase)
Sets the phase of the context.
|
void |
setRootElement(Element element)
Sets the root element.
|
List<ElementBindingHandler> findElementBindingHandlers(Object parent, Object child)
parent
- The parent element object or class to search for.child
- The parent element object or class to search for.List<ElementInterface> findElementInterfaces(Object object)
object
- The element object or class to search for.ElementNamespaceContext findElementNamespaceContext(String namespaceUri)
namespaceUri
- the namespace uri.javax.el.ELContext getELContext()
javax.el.ExpressionFactory getExpressionFactory()
ElementAttributeValueParser getElementAttributeValueParser()
ElementObjectPropertyValue getElementObjectPropertyValue()
X4OPhase getCurrentX4OPhase()
void setCurrentX4OPhase(X4OPhase phase)
phase
- The current phase to set.void addDirtyElement(Element element, X4OPhase phase)
element
- The Element which needs the magic.phase
- May be null, then it should defualt to configElementPhaseMap<Element,X4OPhase> getDirtyElements()
Element getRootElement()
void setRootElement(Element element)
element
- The root element to set.X4OLanguageConfiguration getLanguageConfiguration()
void addElementLanguageModule(ElementLanguageModule elementLanguageModule)
elementLanguageModule
- The element language module to add.List<ElementLanguageModule> getElementLanguageModules()
Copyright © 2004-2012 X4O. All Rights Reserved.