blob: 4fbeb143a07ce63f9ce337d99094f97886bdfbc6 [file] [log] [blame]
Meki Cherkaouib0365a72012-02-18 00:59:57 -08001
2var CCNProtocolDTags = require('./CCNProtocolDTags').CCNProtocolDTags;
3
4var ExcludeAny = function ExcludeAny() {
5
6};
7
8exports.ExcludeAny= ExcludeAny;
9
10ExcludeAny.prototype.decode = function(decoder) {
11 decoder.readStartElement(this.getElementLabel());
12 decoder.readEndElement();
13};
14
15
16ExcludeAny.prototype.encode = function( encoder) {
17 encoder.writeStartElement(this.getElementLabel());
18 encoder.writeEndElement();
19};
20
21ExcludeAny.prototype.getElementLabel=function() { return CCNProtocolDTags.Any; };