de.grogra.ext.x3d
public class X3DImport extends FilterBase implements ObjectSource
FilterSource.MetaDataKey<V>| Modifier and Type | Field and Description |
|---|---|
protected java.util.Stack<X3DParser> |
parsers
Stack of parsers.
|
protected Null |
sceneNode
GroIMP root node of imported x3d nodes.
|
protected static X3DImport |
theImport
Current import instance.
|
protected Workbench |
workbench
Current workbench.
|
item, sourceAUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URLDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
X3DImport(FilterItem item,
FilterSource source)
Constructor of the x3d importer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewParser(X3DParser parser)
Add a new parser on top of stack.
|
X3DParser |
getCurrentParser()
Returns the current x3d parser.
|
java.lang.Object |
getObject()
Returns the data as an object of a class which is compatible which
the flavor.
|
static X3DImport |
getTheImport()
Returns the instance of the current x3d importer.
|
void |
increaseProgress() |
void |
removeCurrentParser()
Removes the current parser from stack.
|
get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgressgetRegistryprotected java.util.Stack<X3DParser> parsers
protected Null sceneNode
protected static X3DImport theImport
protected Workbench workbench
public X3DImport(FilterItem item, FilterSource source)
item - source - public void addNewParser(X3DParser parser)
parser - public X3DParser getCurrentParser()
public java.lang.Object getObject()
throws java.io.IOException
ObjectSourcegetObject in interface ObjectSourcejava.io.IOExceptionpublic static X3DImport getTheImport()
public void increaseProgress()
public void removeCurrentParser()