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