org.ccnx.ccn.impl.encoding.GenericXMLHandler Class Reference

List of all members.

Public Member Functions

 GenericXMLHandler (BinaryXMLDictionary 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 (BinaryXMLDictionary dictionary)
 Push an XML dictionary for use by this encoder or decoder instance only.
BinaryXMLDictionary popXMLDictionary ()
 Pop top XML dictionary from the stack used by this encoder or decoder instance only.

Protected Attributes

Stack< BinaryXMLDictionary_dictionaryStack = null

Member Function Documentation

BinaryXMLDictionary 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 ( BinaryXMLDictionary  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:
dictionary 
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:
tag 
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:
tagVal 
Returns:

The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:38 2011 for Content-Centric Networking in Java by  doxygen 1.6.3