Meki Cherkaoui | f441d3a | 2012-04-22 15:17:52 -0700 | [diff] [blame] | 1 | /* |
| 2 | * @author: ucla-cs |
| 3 | * This class represents ExcludeAny objects |
| 4 | */ |
| 5 | |
| 6 | var ExcludeAny = function ExcludeAny() { |
| 7 | |
| 8 | }; |
| 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; }; |