org.web3d.parser
Class BinaryX3DParserFactory
java.lang.Object
org.web3d.vrml.parser.VRMLParserFactory
org.web3d.parser.BinaryX3DParserFactory
public class BinaryX3DParserFactory
- extends VRMLParserFactory
Implementation of a factory that will only generate parsers of X3D binary
content.
The parser factory will handle all 3 basic forms of request - VRML 2.0, X3D
and a specific request for a binary parser.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
|
Method Summary |
boolean |
hasFeature(java.lang.String feature,
java.lang.String version)
Check to see if this implementation has the nominated feature. |
VRMLReader |
newVRMLReader()
Request a new instance of a VRMLReader to parse documents. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryX3DParserFactory
public BinaryX3DParserFactory()
- Construct a default instance of this factory.
newVRMLReader
public VRMLReader newVRMLReader()
- Request a new instance of a VRMLReader to parse documents.
- Specified by:
newVRMLReader in class VRMLParserFactory
- Returns:
- A new reader instance
hasFeature
public boolean hasFeature(java.lang.String feature,
java.lang.String version)
- Check to see if this implementation has the nominated feature. If there
is no version information passed, it will look for features of all
versions. The special version string of '*' may be used to denote all
or all versions of the named feature.
- Specified by:
hasFeature in class VRMLParserFactory
- Parameters:
feature - The name of the feature requestedversion - The version of the feature required or null for none
- Returns:
- true if the feature and version is supported
Copyright © 2001 - 2006 Web3D Consortium