Interface X4OLanguageSession
- All Known Subinterfaces:
X4OLanguageSessionLocal
- All Known Implementing Classes:
AbstractX4OLanguageSession
,DefaultX4OLanguageSession
public interface X4OLanguageSession
X4OLanguageSession store all language session related information.
- Version:
- 1.0 Feb 14, 2007
- Author:
- Willem Cazander
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDirtyElement
(Element element) Marks an (new) Element as dirty and run the phases from this start phase.Get all Dirty Elements.javax.el.ELContext
Gets the EL Context.javax.el.ExpressionFactory
Gets the ExpressionFactory.Returns the current X4OPhase of the parser.Returns the root Element which starts the xml tree.boolean
void
setRootElement
(Element element) Sets the root element.
-
Method Details
-
getLanguage
X4OLanguage getLanguage()- Returns:
- Returns the language from which this session in created.
-
getExpressionLanguageContext
javax.el.ELContext getExpressionLanguageContext()Gets the EL Context.- Returns:
- Returns the ELContext.
-
getExpressionLanguageFactory
javax.el.ExpressionFactory getExpressionLanguageFactory()Gets the ExpressionFactory.- Returns:
- Returns the ExpressionFactory.
-
getElementAttributeValueParser
ElementAttributeValueParser getElementAttributeValueParser()- Returns:
- Returns the ElementAttributeValueParser.
-
getElementObjectPropertyValue
ElementObjectPropertyValue getElementObjectPropertyValue()- Returns:
- Returns the ElementObjectPropertyValue.
-
addDirtyElement
Marks an (new) Element as dirty and run the phases from this start phase.- Parameters:
element
- The Element which needs the magic.
-
getDirtyElements
-
getRootElement
Element getRootElement()Returns the root Element which starts the xml tree.- Returns:
- Returns the root element of the document instance we parse.
-
setRootElement
Sets the root element.- Parameters:
element
- The root element to set.
-
getX4ODebugWriter
X4ODebugWriter getX4ODebugWriter()- Returns:
- Returns null or an X4ODebugWriter to write parsing steps and debug data to.
-
hasX4ODebugWriter
boolean hasX4ODebugWriter()- Returns:
- Returns true if this config has a debug writer.
-
getPhaseCurrent
X4OPhase getPhaseCurrent()Returns the current X4OPhase of the parser.- Returns:
- Returns the current phase.
-
getPhaseStop
String getPhaseStop()- Returns:
- Returns the phase this session will stop processing.
-
getPhaseSkip
-