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