|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.miso.tools.xml.SparseMisoSceneRuleSet
public class SparseMisoSceneRuleSet
Used to parse a SparseMisoSceneModel from XML.
| Constructor Summary | |
|---|---|
SparseMisoSceneRuleSet()
|
|
| Method Summary | |
|---|---|
static void |
addObjectExtractor(org.apache.commons.digester.Digester dig,
String type,
String base,
String methodName)
Adds a set of rules to dig to create an Object info from the element at
base/type/object and calls methodName on the object on dig's stack. |
void |
addRuleInstances(String prefix,
org.apache.commons.digester.Digester dig)
Instructs this ruleset to add its rules such that it parses its object from the specified path prefix. |
String |
getOuterElement()
Returns the name of the nested object's outer element so that the parent parser can use it to compose the total path prefix. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SparseMisoSceneRuleSet()
| Method Detail |
|---|
public String getOuterElement()
NestableRuleSet
getOuterElement in interface NestableRuleSet
public void addRuleInstances(String prefix,
org.apache.commons.digester.Digester dig)
NestableRuleSetNestableRuleSet.getOuterElement() will have been included in the path
prefix.
addRuleInstances in interface NestableRuleSet
public static void addObjectExtractor(org.apache.commons.digester.Digester dig,
String type,
String base,
String methodName)
dig to create an Object info from the element at
base/type/object and calls methodName on the object on dig's stack.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||