public interface X4OPhase
| Modifier and Type | Method and Description |
|---|---|
void |
addPhaseListener(X4OPhaseListener listener)
Adds an X4OPhaseListener.
|
String |
getId()
Returns the X4OPhase for which this handler was written.
|
String[] |
getPhaseDependencies() |
List<X4OPhaseListener> |
getPhaseListeners()
Returns all phase listeners which where added.
|
X4OPhaseType |
getType() |
boolean |
isElementPhase()
runPhase is called but should do nothig.
|
boolean |
isRunOnce()
Returns a flag indicating that this phase is runnable multiple times.
|
void |
removePhaseListener(X4OPhaseListener listener)
Removes an X4OPhaseListener.
|
void |
runElementPhase(Element element)
Run this phase for this Element.
|
void |
runPhase(X4OLanguageContext elementLanguage)
Runs this phase.
|
X4OPhaseType getType()
String getId()
String[] getPhaseDependencies()
boolean isRunOnce()
void runPhase(X4OLanguageContext elementLanguage) throws X4OPhaseException
elementLanguage - The elementLanguage running this phase.X4OPhaseException - When error has happend.List<X4OPhaseListener> getPhaseListeners()
void addPhaseListener(X4OPhaseListener listener)
listener - The listener to add.void removePhaseListener(X4OPhaseListener listener)
listener - The listener to remove.boolean isElementPhase()
void runElementPhase(Element element) throws X4OPhaseException
element - The element to run this phase for.X4OPhaseException - Is thrown when error has happen.Copyright © 2004-2013 X4O. All Rights Reserved.