Meki Cherkaoui | f441d3a | 2012-04-22 15:17:52 -0700 | [diff] [blame] | 1 | //TODO INCOMPLETE |
| 2 | /* |
| 3 | * @author: ucla-cs |
| 4 | * |
| 5 | * Encodes CCN object into xml tags |
| 6 | */ |
| 7 | var DataUtils = require('./DataUtils').DataUtils; |
| 8 | |
| 9 | var /*DateFormat*/ canonicalWriteDateFormat = null; |
| 10 | var /* DateFormat*/ canonicalReadDateFormat = null; |
| 11 | var /*String*/ PAD_STRING = "000000000"; |
| 12 | var /*int*/ NANO_LENGTH = 9; |
| 13 | |
| 14 | var TextXMLCodec = function TextXMLCodec(){ |
| 15 | |
| 16 | this.CCN_NAMESPACE = "http://www.parc.com/ccn"; // String |
| 17 | this.CCN_PREFIX = "ccn"; // String |
| 18 | this.CODEC_NAME = "Text";// String |
| 19 | this.BINARY_ATTRIBUTE = "ccnbencoding";// String |
| 20 | this.BINARY_ATTRIBUTE_VALUE = "base64Binary";// String |
| 21 | |
| 22 | |
| 23 | }; |
| 24 | |