- java.lang.Object
-
- org.jvnet.fastinfoset.Vocabulary
-
public class Vocabulary extends Object
A canonical representation of a vocabulary.Each vocabulary table is represented as a Set. A vocabulary table entry is represented as an item in the Set.
The 1st item contained in a Set is assigned the smallest index value, n say (where n >= 0). The 2nd item is assigned an index value of n + 1. The kth item is assigned an index value of n + (k - 1).
A Fast Infoset parser/serializer implementation will tranform the canonical representation of a Vocabulary instance into a more optimal form suitable for the efficient usage according to the API implemented by the parsers and serialziers.
-
-
Field Summary
Fields Modifier and Type Field Description Set<QName>attributesThe attribute table, containing QName objects.Set<String>attributeValuesThe "attribute value" table, containing String objects.Set<String>characterContentChunksThe "character content chunk" table, containing String objects.Set<QName>elementsThe element table, containing QName objects.Set<String>encodingAlgorithmsThe encoding algorithm table, containing String objects.Set<String>localNamesThe local name table, containing String objects.Set<String>namespaceNamesThe namespace name table, containing String objects.Set<String>otherNCNamesThe "other NCName" table, containing String objects.Set<String>otherStringsThe "other string" table, containing String objects.Set<String>otherURIsThe "other URI" table, containing String objects.Set<String>prefixesThe prefix table, containing String objects.Set<String>restrictedAlphabetsThe restricted alphabet table, containing String objects.
-
Constructor Summary
Constructors Constructor Description Vocabulary()
-
-
-
Field Detail
-
restrictedAlphabets
public final Set<String> restrictedAlphabets
The restricted alphabet table, containing String objects.
-
encodingAlgorithms
public final Set<String> encodingAlgorithms
The encoding algorithm table, containing String objects.
-
namespaceNames
public final Set<String> namespaceNames
The namespace name table, containing String objects.
-
otherNCNames
public final Set<String> otherNCNames
The "other NCName" table, containing String objects.
-
attributeValues
public final Set<String> attributeValues
The "attribute value" table, containing String objects.
-
otherStrings
public final Set<String> otherStrings
The "other string" table, containing String objects.
-
characterContentChunks
public final Set<String> characterContentChunks
The "character content chunk" table, containing String objects.
-
-