KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > cve > esecutori > components > specificaLV > ElementAlphabet


1 package cve.esecutori.components.specificaLV;
2
3 import java.util.*;
4
5 import org.jdom.*;
6 import org.jdom.input.SAXBuilder;
7 import org.jdom.output.XMLOutputter;
8
9 import cve.staticLayout.*;
10
11 import org.apache.log4j.Logger;
12
13 /**
14 * @(#)ElementAlphabet.java 1.00 18/07/02
15 *
16 * @Author Domenico Ventriglia
17 **/

18 public abstract class ElementAlphabet {
19    protected Element eleXml;
20    protected String JavaDoc name;
21    protected String JavaDoc nameId;
22    // lista degli attributi presenti nel conseguente (Var name= )
23
protected Vector attributeInCons;
24    // lista degli attributi presenti nell'antecendente
25
protected Vector attributeInAnt;
26
27    public Element getElementXml(){
28       Cve.errLog.debug("");
29       return eleXml;
30    }
31
32    public String JavaDoc getName(){
33       Cve.errLog.debug("");
34       return name;
35    }
36
37    public String JavaDoc getNameId(){
38       Cve.errLog.debug("");
39       return nameId;
40    }
41
42    public Collection getAttributeInAnt(){
43       Cve.errLog.debug("");
44       //if (attributeInAnt!=null)
45
return attributeInAnt;
46    }
47
48    public void setAttributeInAnt(Collection attributes ){
49       Cve.errLog.debug("");
50       attributeInAnt=new Vector(attributes);
51    }
52
53    public Collection getAttributeInCons(){
54       Cve.errLog.debug("");
55       return attributeInCons;
56    }
57
58    public void setAttributeInCons(Collection attributes ){
59       Cve.errLog.debug("");
60       attributeInCons=new Vector(attributes);
61    }
62
63 }
64
65
Popular Tags