org.web3d.parser
Class DefaultVRMLParserFactory
java.lang.Object
org.web3d.vrml.parser.VRMLParserFactory
org.web3d.parser.DefaultVRMLParserFactory
- public class DefaultVRMLParserFactory
- extends VRMLParserFactory
Default implementation of a factory for parsers for VRML content.
Current implementation is just a skeleton until we develop a complete
parser.
- Version:
- $Revision: 1.2 $
- 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 |
DefaultVRMLParserFactory
public DefaultVRMLParserFactory()
- 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 - 2005 Web3D Consortium