public class DAEParser extends Object implements SceneParser
Modifier and Type | Field and Description |
---|---|
static String |
SCHEMA_LANGUAGE |
static String |
SCHEMA_SOURCE |
static String |
XML_SCHEMA |
Constructor and Description |
---|
DAEParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
parse(String filename,
SunflowAPIInterface api)
Parse the specified file to create a scene description into the provided
SunflowAPI object. |
public static String SCHEMA_LANGUAGE
public static String XML_SCHEMA
public static String SCHEMA_SOURCE
public boolean parse(String filename, SunflowAPIInterface api)
SceneParser
SunflowAPI
object.parse
in interface SceneParser
filename
- filename to parseapi
- scene to parse the file intotrue
upon sucess, or false
if
errors have occured.Copyright © 2018. All rights reserved.