public class XMLInteractionManagerActionBuilder extends XMLInterpreter implements InteractionManagerActionBuilder
Creates a InteractionManagerAction object model with a set of actions
to manage the parent form state with the given XML from the
InteractionManager.
Implementation of InteractionManagerActionBuilder
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_ATTR_KEY |
static String |
ACTION_CLASS_KEY |
static String |
ACTION_VALUE_KEY |
static String |
LISTENER_ATTR_KEY |
static String |
LISTENER_CLASS_KEY |
static String |
LISTENER_ID_KEY |
static String |
LISTENER_KEY |
static String |
MODE_ID_KEY |
static String |
MODE_KEY |
IMPORT_TAG, LABELS_FILE, SILENT| Constructor and Description |
|---|
XMLInteractionManagerActionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
InteractionManagerAction |
buildAction(InputStream resource)
Loads a XML content from the given
InputStream
resource and creates a InteractionManagerAction
action model. |
InteractionManagerAction |
buildAction(String resource)
Loads a XML content from the given
String resource
and creates a InteractionManagerAction action model. |
protected InteractionManagerAction.ModeAction |
createAction(Node node) |
protected InteractionManagerAction.Listener |
createListener(Node node) |
protected InteractionManagerAction.ListenerItem |
createListenerItem(Node node) |
protected InteractionManagerAction |
createManager(Node node) |
protected InteractionManagerAction.Mode |
createMode(Node node) |
protected InputStream |
getStream(String resource) |
protected static void |
warning(String message) |
protected static void |
warning(Throwable t) |
createComponent, getDefaultLabelList, getDocumentModel, getDocumentModel, getDocumentModel, getDocumentTreeModel, getExtendedDocument, getExtendedDocument, getRoot, interpreterTag, processLabelFilepublic static final String MODE_KEY
public static final String MODE_ID_KEY
public static final String ACTION_ATTR_KEY
public static final String ACTION_VALUE_KEY
public static final String ACTION_CLASS_KEY
public static final String LISTENER_KEY
public static final String LISTENER_ID_KEY
public static final String LISTENER_ATTR_KEY
public static final String LISTENER_CLASS_KEY
protected InputStream getStream(String resource) throws IOException
IOExceptionprotected static void warning(Throwable t)
protected static void warning(String message)
public InteractionManagerAction buildAction(String resource)
InteractionManagerActionBuilder
Loads a XML content from the given String resource
and creates a InteractionManagerAction action model.
buildAction in interface InteractionManagerActionBuilderresource - InputStream XML source.InteractionManagerAction action model.public InteractionManagerAction buildAction(InputStream resource)
InteractionManagerActionBuilder
Loads a XML content from the given InputStream
resource and creates a InteractionManagerAction
action model.
buildAction in interface InteractionManagerActionBuilderresource - InputStream XML source.InteractionManagerAction action model.protected InteractionManagerAction createManager(Node node)
protected InteractionManagerAction.Mode createMode(Node node)
protected InteractionManagerAction.ModeAction createAction(Node node)
protected InteractionManagerAction.Listener createListener(Node node)
protected InteractionManagerAction.ListenerItem createListenerItem(Node node)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.