KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openlaszlo > xml > internal > DataContext


1 /* ****************************************************************************
2  * DataContext.java
3  *
4  * Compile XML directly to SWF bytecodes.
5  * ****************************************************************************/

6
7 /* J_LZ_COPYRIGHT_BEGIN *******************************************************
8 * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
9 * 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 = 5;
24     public String JavaDoc encoding = "Cp1252";
25
26     public DataContext () {
27     }
28     
29     public DataContext (int flashVersion) {
30         this.flashVersion = flashVersion;
31     }
32
33     public void setEncoding(String JavaDoc encoding) {
34         this.encoding = encoding;
35     }
36
37 }
38
39
Popular Tags