public class ActionQueueCreator extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ACTION_TAG
The "action" tag in the XML action list file. 
 | 
static String | 
CLASS_TAG
The "class" tag in the XML action list file indicating the fully qualified
 class name that represents the action specified by the ACTION_TAG 
 | 
static String | 
CONDITION_TAG
The "condition" tag in the XML action list file. 
 | 
static String | 
CONDITION_TYPE
An attribute of the CONDITION_TAG. 
 | 
static String | 
DEFAULTS_TAG
The "defaults" tag in the XML action list file. 
 | 
static String | 
DESCRIPTION
The DESCRIPTION is an optional attribute of the ACTION_TAG. 
 | 
static String | 
LABEL
The LABEL is an attribute of the ACTION_TAG. 
 | 
static String | 
LEFT_OPERAND
An attribute of the CONDITION_TAG. 
 | 
protected Substitutor | 
m_Substitutor
The Substitutor used to substitute values extracted from the XML file. 
 | 
static String | 
NAME
An attribute of the PROPERTY_TAG representing the name of the property
 the action expects. 
 | 
static String | 
NO
Common false value for boolean attributes. 
 | 
static String | 
OPERATION
An attribute of the CONDITION_TAG. 
 | 
static String | 
PROPERTY_TAG
The "property" tag in the XML action list file. 
 | 
static String | 
RIGHT_OPERAND
An attribute of the CONDITION_TAG. 
 | 
static String | 
VALUE
An attribute of the PROPERTY_TAG representing the value of the property
 the action expects. 
 | 
static String | 
YES
Common true value for boolean attributes. 
 | 
| Constructor and Description | 
|---|
ActionQueueCreator()
Creates an instance of an ActionQueueCreator 
 | 
ActionQueueCreator(Substitutor substitutor)
Creates an instance of an ActionQueueCreator with a Substitutor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Action | 
createAction(Element actionElement)
Creates an Action from the XMLElement provided. 
 | 
ActionQueue | 
createActionQueue(InputSource xmlInput)
Creates an ActionQueue representing the XML list of actions provided. 
 | 
ActionQueue | 
createActionQueue(InputStream xmlInput)
Creates an ActionQueue representing the XML list of actions provided. 
 | 
ActionQueue | 
createActionQueue(Reader xmlInput)
Creates an ActionQueue representing the XML list of actions provided. 
 | 
ActionQueue | 
createActionQueue(String xmlInput)
Creates an ActionQueue representing the XML list of actions provided. 
 | 
ActionQueue | 
createActionQueue(URL xmlInput)
Creates an ActionQueue representing the XML list of actions provided. 
 | 
protected String | 
sub(String value)
Passes the value through the Substitutor if one is provided. 
 | 
public static final String ACTION_TAG
public static final String CLASS_TAG
public static final String PROPERTY_TAG
public static final String NAME
public static final String VALUE
public static final String LABEL
public static final String DESCRIPTION
public static final String CONDITION_TAG
public static final String CONDITION_TYPE
public static final String OPERATION
public static final String LEFT_OPERAND
public static final String RIGHT_OPERAND
public static final String DEFAULTS_TAG
public static final String YES
public static final String NO
protected Substitutor m_Substitutor
public ActionQueueCreator()
public ActionQueueCreator(Substitutor substitutor)
public final ActionQueue createActionQueue(InputSource xmlInput) throws ActionProcessingException, SAXException, IOException
xmlInput - InputSource containing an XML representation of the list
                 of actionsActionProcessingException - If an error occurred while processing
 an action tag and creating the the corrosponding Action, possibly 
 wrapping another exception.SAXException - If any SAX error or warning is encountered while
 processing the XML input, possibly wrapping another exception.IOException - If an IO error is encountered in the XML input.#createAction(XMLElement)public final ActionQueue createActionQueue(InputStream xmlInput) throws ActionProcessingException, SAXException, IOException
xmlInput - InputStream containing an XML representation of the list
                 of actionsActionProcessingException - If an error occurred while processing
 an action tag and creating the the corrosponding Action, possibly 
 wrapping another exception.SAXException - If any SAX error or warning is encountered while
 processing the XML input, possibly wrapping another exception.IOException - If an IO error is encountered in the XML input.#createAction(XMLElement)public final ActionQueue createActionQueue(Reader xmlInput) throws ActionProcessingException, SAXException, IOException
xmlInput - Reader containing an XML representation of the list of
                 actionsActionProcessingException - If an error occurred while processing
 an action tag and creating the the corrosponding Action, possibly 
 wrapping another exception.SAXException - If any SAX error or warning is encountered while
 processing the XML input, possibly wrapping another exception.IOException - If an IO error is encountered in the XML input.#createAction(XMLElement)public final ActionQueue createActionQueue(URL xmlInput) throws ActionProcessingException, SAXException, IOException
xmlInput - URL pointing to an XML representation of the list of
                 actionsActionProcessingException - If an error occurred while processing
 an action tag and creating the the corrosponding Action, possibly 
 wrapping another exception.SAXException - If any SAX error or warning is encountered while
 processing the XML input, possibly wrapping another exception.IOException - If an IO error is encountered in the XML input.#createAction(XMLElement)public final ActionQueue createActionQueue(String xmlInput) throws ActionProcessingException, SAXException, IOException
xmlInput - String containing an XML representation of the list of
                 actionsActionProcessingException - If an error occurred while processing
 an action tag and creating the the corrosponding Action, possibly 
 wrapping another exception.SAXException - If any SAX error or warning is encountered while
 processing the XML input, possibly wrapping another exception.IOException - If an IO error is encountered in the XML input.#createAction(XMLElement)protected Action createAction(Element actionElement) throws ActionProcessingException
actionElement - XML DOM Node representing an ActionProcessingException - If an error occurred while 
 processing the action tag and creating the Action, possibly wrapping
 another exception. The default implementation wraps one of the following:
 createActionQueue(String)Copyright © 2025. All rights reserved.