blob: 97e5f15dc5fa77f8d683c902f7e6ac89903ba08f [file] [log] [blame]
Meki Cherkaouif441d3a2012-04-22 15:17:52 -07001//TODO INCOMPLETE
2/*
Jeff Thompson146d7de2012-11-17 16:15:28 -08003 * @author: Meki Cheraoui
Jeff Thompson745026e2012-10-13 12:49:20 -07004 * See COPYING for copyright and distribution information.
Meki Cherkaouif441d3a2012-04-22 15:17:52 -07005 *
6 * Encodes CCN object into xml tags
7 */
8var 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
15var 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