|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.model.tools.xml.ModelParser
public class ModelParser
Parses XML files containing 3D models.
| Constructor Summary | |
|---|---|
ModelParser()
|
|
| Method Summary | |
|---|---|
ModelDef |
parseModel(InputStream in)
Parses the supplied XML stream into a model definition. |
ModelDef |
parseModel(String path)
Parses the XML file at the specified path into a model definition. |
void |
setModel(ModelDef model)
Called by the parser once the model is parsed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelParser()
| Method Detail |
|---|
public ModelDef parseModel(String path)
throws IOException,
SAXException
IOException
SAXException
public ModelDef parseModel(InputStream in)
throws IOException,
SAXException
IOException
SAXExceptionpublic void setModel(ModelDef model)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||