|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.whirled.tools.xml.SceneParser
public class SceneParser
A simple class for parsing an editable scene instance.
| Constructor Summary | |
|---|---|
SceneParser(String prefix)
Constructs a scene parser that parses scenes with the specified XML path prefix. |
|
| Method Summary | |
|---|---|
SceneModel |
parseScene(String path)
Parses the XML file at the specified path into a scene model instance. |
void |
registerAuxRuleSet(com.threerings.tools.xml.NestableRuleSet set)
Adds a NestableRuleSet for parsing auxiliary scene models. |
void |
setScene(SceneModel model)
Called by the parser once the scene is parsed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SceneParser(String prefix)
| Method Detail |
|---|
public void registerAuxRuleSet(com.threerings.tools.xml.NestableRuleSet set)
NestableRuleSet for parsing auxiliary scene models.
public SceneModel parseScene(String path)
throws IOException,
SAXException
IOException
SAXExceptionpublic void setScene(SceneModel model)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||