01: /* ****************************************************************************
02: * DataContext.java
03: *
04: * Compile XML directly to SWF bytecodes.
05: * ****************************************************************************/
06:
07: /* J_LZ_COPYRIGHT_BEGIN *******************************************************
08: * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
09: * Use is subject to license terms. *
10: * J_LZ_COPYRIGHT_END *********************************************************/
11:
12: package org.openlaszlo.xml.internal;
13:
14: import java.io.*;
15: import java.util.*;
16: import org.openlaszlo.utils.HashIntTable;
17: import org.apache.commons.httpclient.Header;
18:
19: public class DataContext {
20: public HashIntTable cpool = new HashIntTable(256, -1);
21: public HashIntTable cpool_first = new HashIntTable(256, -1);
22: public int pool_data_length = 0;
23: public int flashVersion = 6;
24: public String encoding = "UTF-8";
25:
26: public DataContext() {
27: }
28:
29: public DataContext(int flashVersion) {
30: this .flashVersion = flashVersion;
31: }
32:
33: public void setEncoding(String encoding) {
34: this.encoding = encoding;
35: }
36:
37: }
|