|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.digester.RuleSetBase
com.threerings.cast.tools.xml.ActionRuleSet
public class ActionRuleSet
The action rule set is used to parse the attributes of an action sequence instance.
| Field Summary | |
|---|---|
protected String |
_prefix
The prefix at which me match our actions. |
static String |
ACTION_PATH
The component of the digester path that is appended by the action rule set to match a action. |
| Fields inherited from class org.apache.commons.digester.RuleSetBase |
|---|
namespaceURI |
| Constructor Summary | |
|---|---|
ActionRuleSet()
|
|
| Method Summary | |
|---|---|
void |
addRuleInstances(org.apache.commons.digester.Digester digester)
Adds the necessary rules to the digester to parse our actions. |
void |
setPrefix(String prefix)
Instructs the action rule set to match actions with the supplied prefix. |
static String |
validate(ActionSequence seq)
Validates that all necessary fields have been parsed and set in this action sequence object and are valid. |
| Methods inherited from class org.apache.commons.digester.RuleSetBase |
|---|
getNamespaceURI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ACTION_PATH
protected String _prefix
| Constructor Detail |
|---|
public ActionRuleSet()
| Method Detail |
|---|
public void setPrefix(String prefix)
actions will
match actions in the following XML file:
<actions>
<action>
// ...
</action>
</actions>
This must be called before adding the ruleset to a digester.
public void addRuleInstances(org.apache.commons.digester.Digester digester)
addRuleInstances in interface org.apache.commons.digester.RuleSetaddRuleInstances in class org.apache.commons.digester.RuleSetBasepublic static String validate(ActionSequence seq)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||