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