org.ccnx.ccn.impl.encoding.GenericXMLHandler Class Reference
List of all members.
Public Member Functions |
| GenericXMLHandler (XMLDictionary dictionary) |
Long | stringToTag (String tagName) |
| Pull data from our dictionary stack in order.
|
String | tagToString (long tagVal) |
| Pull data form our dictionary stack in order.
|
void | pushXMLDictionary (XMLDictionary dictionary) |
| Push an XML dictionary for use by this encoder or decoder instance only.
|
XMLDictionary | popXMLDictionary () |
| Pop top XML dictionary from the stack used by this encoder or decoder instance only.
|
Protected Attributes |
Stack< XMLDictionary > | _dictionaryStack = null |
Member Function Documentation
XMLDictionary org.ccnx.ccn.impl.encoding.GenericXMLHandler.popXMLDictionary |
( |
|
) |
|
Pop top XML dictionary from the stack used by this encoder or decoder instance only.
- Returns:
- the dictionary it popped if it popped one, otherwise null.
void org.ccnx.ccn.impl.encoding.GenericXMLHandler.pushXMLDictionary |
( |
XMLDictionary |
dictionary |
) |
|
Push an XML dictionary for use by this encoder or decoder instance only.
This dictionary takes priority over any global dictionaries loaded using BinaryXMLDictionary.pushGlobalXMLDictionary and shadows any matching entries. Pushes even if dictionary is on the stack, to make it easier to keep track of order.
- Parameters:
-
Long org.ccnx.ccn.impl.encoding.GenericXMLHandler.stringToTag |
( |
String |
tagName |
) |
|
Pull data from our dictionary stack in order.
Return the first non-null value, or null if nobody knows this name. (Option: handle unknown tags here.)
- Parameters:
-
- Returns:
String org.ccnx.ccn.impl.encoding.GenericXMLHandler.tagToString |
( |
long |
tagVal |
) |
|
Pull data form our dictionary stack in order.
Return the first non-null value, or null if nobody knows this name. (Option: handle unknown tags here.)
- Parameters:
-
- Returns:
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/impl/encoding/GenericXMLHandler.java