KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > kelp > common > bridge > MetaDataHandler


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Enhydra Application Server is Lutris
15  * Technologies, Inc. The Enhydra Application Server and portions created
16  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17  * All Rights Reserved.
18  *
19  * Contributor(s):
20  *
21  */

22
23 package org.enhydra.kelp.common.bridge;
24
25 // Kelp imports
26
import org.enhydra.kelp.common.node.OtterXMLCNode;
27
28 // XMLC imports
29
import org.enhydra.xml.xmlc.XMLCException;
30
31 // Standard imports
32
import java.io.File JavaDoc;
33 import java.io.IOException JavaDoc;
34 import java.io.PrintWriter JavaDoc;
35
36
37 public interface MetaDataHandler {
38
39   public void parse(String JavaDoc[] files, String JavaDoc[] args, PrintWriter JavaDoc writer,
40      OtterXMLCNode node)
41     throws XMLCException, IOException JavaDoc;
42
43   public Object JavaDoc getMetaData();
44
45   public Object JavaDoc[] getURLMappings();
46   public Object JavaDoc[] getDeleteElements();
47
48   public String JavaDoc getClassName();
49   public void setClassName(String JavaDoc n);
50
51   public String JavaDoc getPackageName();
52
53   public File JavaDoc getJavaClassSource();
54   public void setJavaClassSource(File JavaDoc f, OtterXMLCNode node);
55
56   public File JavaDoc getJavaInterfaceSource();
57   public void setJavaInterfaceSource(File JavaDoc f, OtterXMLCNode node);
58
59   public String JavaDoc getInputDocument();
60   public void setInputDocument(String JavaDoc s);
61
62   public String JavaDoc getDocumentOutput();
63   public void setDocumentOutput(String JavaDoc s);
64
65   public boolean getCompileSource();
66   public void setCompileSource(boolean b);
67
68   public boolean getKeepGeneratedSource();
69   public void setKeepGeneratedSource(boolean keep);
70
71   public boolean getPrintAccessorInfo();
72   public void setPrintAccessorInfo(boolean b);
73
74   public boolean getPrintDocumentInfo();
75   public void setPrintDocumentInfo(boolean b);
76
77   public boolean getPrintDOM();
78   public void setPrintDOM(boolean b);
79
80   public boolean getPrintParseInfo();
81   public void setPrintParseInfo(boolean b);
82
83   public boolean getVerbose();
84   public void setVerbose(boolean b);
85
86   public boolean getRecompilation();
87   public void setRecompilation(boolean b);
88
89   public boolean getPrintVersion();
90   public void setPrintVersion(boolean b);
91
92   public void save(File JavaDoc f) throws IOException JavaDoc;
93
94 }
95
Popular Tags