Class Vocabulary


  • public class Vocabulary
    extends java.lang.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 serializers.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Set<javax.xml.namespace.QName> attributes
      The attribute table, containing QName objects.
      java.util.Set<java.lang.String> attributeValues
      The "attribute value" table, containing String objects.
      java.util.Set<java.lang.String> characterContentChunks
      The "character content chunk" table, containing String objects.
      java.util.Set<javax.xml.namespace.QName> elements
      The element table, containing QName objects.
      java.util.Set<java.lang.String> encodingAlgorithms
      The encoding algorithm table, containing String objects.
      java.util.Set<java.lang.String> localNames
      The local name table, containing String objects.
      java.util.Set<java.lang.String> namespaceNames
      The namespace name table, containing String objects.
      java.util.Set<java.lang.String> otherNCNames
      The "other NCName" table, containing String objects.
      java.util.Set<java.lang.String> otherStrings
      The "other string" table, containing String objects.
      java.util.Set<java.lang.String> otherURIs
      The "other URI" table, containing String objects.
      java.util.Set<java.lang.String> prefixes
      The prefix table, containing String objects.
      java.util.Set<java.lang.String> restrictedAlphabets
      The restricted alphabet table, containing String objects.
    • Constructor Summary

      Constructors 
      Constructor Description
      Vocabulary()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • restrictedAlphabets

        public final java.util.Set<java.lang.String> restrictedAlphabets
        The restricted alphabet table, containing String objects.
      • encodingAlgorithms

        public final java.util.Set<java.lang.String> encodingAlgorithms
        The encoding algorithm table, containing String objects.
      • prefixes

        public final java.util.Set<java.lang.String> prefixes
        The prefix table, containing String objects.
      • namespaceNames

        public final java.util.Set<java.lang.String> namespaceNames
        The namespace name table, containing String objects.
      • localNames

        public final java.util.Set<java.lang.String> localNames
        The local name table, containing String objects.
      • otherNCNames

        public final java.util.Set<java.lang.String> otherNCNames
        The "other NCName" table, containing String objects.
      • otherURIs

        public final java.util.Set<java.lang.String> otherURIs
        The "other URI" table, containing String objects.
      • attributeValues

        public final java.util.Set<java.lang.String> attributeValues
        The "attribute value" table, containing String objects.
      • otherStrings

        public final java.util.Set<java.lang.String> otherStrings
        The "other string" table, containing String objects.
      • characterContentChunks

        public final java.util.Set<java.lang.String> characterContentChunks
        The "character content chunk" table, containing String objects.
      • elements

        public final java.util.Set<javax.xml.namespace.QName> elements
        The element table, containing QName objects.
      • attributes

        public final java.util.Set<javax.xml.namespace.QName> attributes
        The attribute table, containing QName objects.
    • Constructor Detail

      • Vocabulary

        public Vocabulary()