com.threerings.miso.tools.xml
Class SimpleMisoSceneRuleSet

java.lang.Object
  extended by com.threerings.miso.tools.xml.SimpleMisoSceneRuleSet
All Implemented Interfaces:
NestableRuleSet

public class SimpleMisoSceneRuleSet
extends Object
implements NestableRuleSet

Used to parse a SimpleMisoSceneModel from XML.


Constructor Summary
SimpleMisoSceneRuleSet()
           
 
Method Summary
 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

SimpleMisoSceneRuleSet

public SimpleMisoSceneRuleSet()
Method Detail

getOuterElement

public String getOuterElement()
Description copied from interface: NestableRuleSet
Returns the name of the nested object's outer element so that the parent parser can use it to compose the total path prefix.

Specified by:
getOuterElement in interface NestableRuleSet

addRuleInstances

public void addRuleInstances(String prefix,
                             org.apache.commons.digester.Digester dig)
Description copied from interface: NestableRuleSet
Instructs this ruleset to add its rules such that it parses its object from the specified path prefix. The outer element returned by NestableRuleSet.getOuterElement() will have been included in the path prefix.

Specified by:
addRuleInstances in interface NestableRuleSet


Copyright © 2011. All Rights Reserved.