blob: 7986cba4efeccde9084ccd3dc1c8a99ad1eb727b [file] [log] [blame]
Meki Cherkaouif441d3a2012-04-22 15:17:52 -07001/*
2 * @author: ucla-cs
3 * This class represents ExcludeAny objects
4 */
5
6var ExcludeAny = function ExcludeAny() {
7
8};
9
Jeff Thompsone85ff1d2012-09-29 21:21:57 -070010ExcludeAny.prototype.from_ccnb = function(decoder) {
Meki Cherkaouif441d3a2012-04-22 15:17:52 -070011 decoder.readStartElement(this.getElementLabel());
12 decoder.readEndElement();
13};
14
15
Jeff Thompsone85ff1d2012-09-29 21:21:57 -070016ExcludeAny.prototype.to_ccnb = function( encoder) {
Meki Cherkaouif441d3a2012-04-22 15:17:52 -070017 encoder.writeStartElement(this.getElementLabel());
18 encoder.writeEndElement();
19};
20
21ExcludeAny.prototype.getElementLabel=function() { return CCNProtocolDTags.Any; };