Package org.web3d.parser.x3d
Class X3DBinaryVocabulary
java.lang.Object
org.web3d.parser.x3d.X3DBinaryVocabulary
A fixed vocabulary for X3D FastInfoset files.
- Version:
- $Id: $
- Author:
- Alan Hudson
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.sun.xml.fastinfoset.vocab.ParserVocabulary
static final com.sun.xml.fastinfoset.vocab.SerializerVocabulary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAttribute
(String aName) Add an attribute to the attribute table.static void
addElement
(String eName) Add an element to the element table.static void
static void
reserveAttribute
(int val) Reserve attribute entries to the specified value.static void
reserveElement
(int val) Reserve element entries to the specified value.
-
Field Details
-
serializerVoc
public static final com.sun.xml.fastinfoset.vocab.SerializerVocabulary serializerVoc -
parserVoc
public static final com.sun.xml.fastinfoset.vocab.ParserVocabulary parserVoc
-
-
Constructor Details
-
X3DBinaryVocabulary
public X3DBinaryVocabulary()
-
-
Method Details
-
addElement
Add an element to the element table.- Parameters:
eName
- The element name
-
reserveElement
public static void reserveElement(int val) Reserve element entries to the specified value.- Parameters:
val
- The value to reserve to
-
addAttribute
Add an attribute to the attribute table.- Parameters:
aName
- The attribute name
-
reserveAttribute
public static void reserveAttribute(int val) Reserve attribute entries to the specified value.- Parameters:
val
- The value to reserve to
-
main
-