Package com.jme3.scene.plugins.ogre
Class SceneLoader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.jme3.scene.plugins.ogre.SceneLoader
- All Implemented Interfaces:
- AssetLoader,- ContentHandler,- DTDHandler,- EntityResolver,- ErrorHandler
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidvoidendElement(String uri, String name, String qName) Loads asset from the given input stream, parsing it into an application-usable object.voidvoidstartElement(String uri, String localName, String qName, Attributes attribs) Methods inherited from class org.xml.sax.helpers.DefaultHandlerendPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandlerdeclaration
- 
Constructor Details- 
SceneLoaderpublic SceneLoader()
 
- 
- 
Method Details- 
startDocumentpublic void startDocument()- Specified by:
- startDocumentin interface- ContentHandler
- Overrides:
- startDocumentin class- DefaultHandler
 
- 
endDocumentpublic void endDocument()- Specified by:
- endDocumentin interface- ContentHandler
- Overrides:
- endDocumentin class- DefaultHandler
 
- 
startElementpublic void startElement(String uri, String localName, String qName, Attributes attribs) throws SAXException - Specified by:
- startElementin interface- ContentHandler
- Overrides:
- startElementin class- DefaultHandler
- Throws:
- SAXException
 
- 
endElement- Specified by:
- endElementin interface- ContentHandler
- Overrides:
- endElementin class- DefaultHandler
- Throws:
- SAXException
 
- 
characterspublic void characters(char[] ch, int start, int length) - Specified by:
- charactersin interface- ContentHandler
- Overrides:
- charactersin class- DefaultHandler
 
- 
loadDescription copied from interface:AssetLoaderLoads asset from the given input stream, parsing it into an application-usable object.- Specified by:
- loadin interface- AssetLoader
- Parameters:
- info- the located asset
- Returns:
- An object representing the resource.
- Throws:
- IOException- If an I/O error occurs while loading
 
 
-