This class is now only used for the _globalDictionaries static member and the UnknownTag methods. More...
Static Public Member Functions | |
static XMLDictionary | getDefaultDictionary () |
static Long | decodeUnknownTag (String tagStr) |
static boolean | isUnknownTag (String tagStr) |
static String | unknownTagMarker (long tag) |
Encoding for unknown binary tags. | |
static void | pushGlobalXMLDictionary (XMLDictionary dictionary) |
Push an XML dictionary onto stack used by all applications in this JVM. | |
static XMLDictionary | popGlobalXMLDictionary () |
Pop an XML dictionary onto stack used by all applications in this JVM. | |
static Stack< XMLDictionary > | getGlobalDictionaries () |
Static Public Attributes | |
static final String | UNKNOWN_TAG_MARKER = "UNKNOWN TAG: " |
Static Protected Attributes | |
static Stack< XMLDictionary > | _globalDictionaries = new Stack<XMLDictionary>() |
Static Package Functions | |
[static initializer] |
This class is now only used for the _globalDictionaries static member and the UnknownTag methods.
It does not actually performany any dictionary function (as it does not extend XMLDictionary).
If you want a user-defined dictionary, create a class that extends XMLDictionary. See CCNProtocolDictionary (for an code-defined example) or FileBinaryXmlDictionary (for an external file defined example).
If you want to use a text dictionary directly, use FileBinaryXMLDictionary.
TODO:
static XMLDictionary org.ccnx.ccn.impl.encoding.XMLDictionaryStack.popGlobalXMLDictionary | ( | ) | [static] |
Pop an XML dictionary onto stack used by all applications in this JVM.
Will not pop the default dictionary off the bottom of the stack. For local dictionaries, see GenericXMLHandler.popXMLDictionary.
static void org.ccnx.ccn.impl.encoding.XMLDictionaryStack.pushGlobalXMLDictionary | ( | XMLDictionary | dictionary | ) | [static] |
Push an XML dictionary onto stack used by all applications in this JVM.
This stack is pre-loaded with the default dictionary. For local dictionaries, see GenericXMLHandler.pushXMLDictionary.
static String org.ccnx.ccn.impl.encoding.XMLDictionaryStack.unknownTagMarker | ( | long | tag | ) | [static] |
Encoding for unknown binary tags.
Reversible.