org.ccnx.ccn.io.content.WrappingKeyName Class Reference

A subtype of ContentName that encodes on the wire with a different label. More...

Inheritance diagram for org.ccnx.ccn.io.content.WrappingKeyName:

org.ccnx.ccn.protocol.ContentName org.ccnx.ccn.impl.encoding.GenericXMLEncodable org.ccnx.ccn.impl.encoding.XMLEncodable org.ccnx.ccn.impl.encoding.XMLEncodable

List of all members.

Public Member Functions

 WrappingKeyName (ContentName name)
long getElementLabel ()
 Allow the encoder/decoder to retrieve the top-level element name programmatically.


Detailed Description

A subtype of ContentName that encodes on the wire with a different label.

Was a static inner class of WrappedKey, but that caused problems when we tried to serialize it without making WK serializable.


Member Function Documentation

long org.ccnx.ccn.io.content.WrappingKeyName.getElementLabel (  )  [virtual]

Allow the encoder/decoder to retrieve the top-level element name programmatically.

This allows subclasses to rename elements without changing their encoder/decoders.

Returns:
the element label to use, as a key in a loaded encoding dictionary

Reimplemented from org.ccnx.ccn.protocol.ContentName.


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:45:03 2012 for Content-Centric Networking in Java by  doxygen 1.5.6