Top Description Fields Constructors Methods
org.jvnet.fastinfoset

public Class Vocabulary

extends Object
Class Inheritance
Imports
java.util.LinkedHashSet, .Set, javax.xml.namespace.QName

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 serializers.

Field Summary

Modifier and TypeField and Description
public final Set<QName>
attributes

The attribute table, containing QName objects.

public final Set<String>
attributeValues

The "attribute value" table, containing String objects.

public final Set<String>
characterContentChunks

The "character content chunk" table, containing String objects.

public final Set<QName>
elements

The element table, containing QName objects.

public final Set<String>
encodingAlgorithms

The encoding algorithm table, containing String objects.

public final Set<String>
localNames

The local name table, containing String objects.

public final Set<String>
namespaceNames

The namespace name table, containing String objects.

public final Set<String>
otherNCNames

The "other NCName" table, containing String objects.

public final Set<String>
otherStrings

The "other string" table, containing String objects.

public final Set<String>
otherURIs

The "other URI" table, containing String objects.

public final Set<String>
prefixes

The prefix table, containing String objects.

public final Set<String>
restrictedAlphabets

The restricted alphabet table, containing String objects.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributesback to summary
public final Set<QName> attributes

The attribute table, containing QName objects.

attributeValuesback to summary
public final Set<String> attributeValues

The "attribute value" table, containing String objects.

characterContentChunksback to summary
public final Set<String> characterContentChunks

The "character content chunk" table, containing String objects.

elementsback to summary
public final Set<QName> elements

The element table, containing QName objects.

encodingAlgorithmsback to summary
public final Set<String> encodingAlgorithms

The encoding algorithm table, containing String objects.

localNamesback to summary
public final Set<String> localNames

The local name table, containing String objects.

namespaceNamesback to summary
public final Set<String> namespaceNames

The namespace name table, containing String objects.

otherNCNamesback to summary
public final Set<String> otherNCNames

The "other NCName" table, containing String objects.

otherStringsback to summary
public final Set<String> otherStrings

The "other string" table, containing String objects.

otherURIsback to summary
public final Set<String> otherURIs

The "other URI" table, containing String objects.

prefixesback to summary
public final Set<String> prefixes

The prefix table, containing String objects.

restrictedAlphabetsback to summary
public final Set<String> restrictedAlphabets

The restricted alphabet table, containing String objects.

Constructor Detail

Vocabularyback to summary
public Vocabulary()