public class SkeletonLoader extends org.xml.sax.helpers.DefaultHandler implements AssetLoader
Constructor and Description |
---|
SkeletonLoader() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(java.lang.String uri,
java.lang.String name,
java.lang.String qName) |
java.lang.Object |
load(AssetInfo info)
Loads asset from the given input stream, parsing it into
an application-usable object.
|
java.lang.Object |
load(java.io.InputStream in) |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attribs) |
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attribs) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String name, java.lang.String qName)
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
public java.lang.Object load(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public java.lang.Object load(AssetInfo info) throws java.io.IOException
AssetLoader
load
in interface AssetLoader
java.io.IOException
- If an I/O error occurs while loading