com.threerings.media.image.tools.xml
Class ColorPositoryParser

java.lang.Object
  extended by com.threerings.tools.xml.CompiledConfigParser
      extended by com.threerings.media.image.tools.xml.ColorPositoryParser

public class ColorPositoryParser
extends CompiledConfigParser

Parses the XML color repository definition and creates a ColorPository instance that reflects its contents.


Constructor Summary
ColorPositoryParser()
           
 
Method Summary
protected  void addRules(org.apache.commons.digester.Digester digest)
          Adds the necessary digester rules for parsing the config object.
protected  Serializable createConfigObject()
          Creates the config object instance that will be populated during the parsing process.
 
Methods inherited from class com.threerings.tools.xml.CompiledConfigParser
parseConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorPositoryParser

public ColorPositoryParser()
Method Detail

createConfigObject

protected Serializable createConfigObject()
Description copied from class: CompiledConfigParser
Creates the config object instance that will be populated during the parsing process.

Specified by:
createConfigObject in class CompiledConfigParser

addRules

protected void addRules(org.apache.commons.digester.Digester digest)
Description copied from class: CompiledConfigParser
Adds the necessary digester rules for parsing the config object.

Specified by:
addRules in class CompiledConfigParser