Source code: org/enhydra/kelp/common/bridge/MetaDataHandler.java
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;
33 import java.io.IOException;
34 import java.io.PrintWriter;
35
36
37 public interface MetaDataHandler {
38
39 public void parse(String[] files, String[] args, PrintWriter writer,
40 OtterXMLCNode node)
41 throws XMLCException, IOException;
42
43 public Object getMetaData();
44
45 public Object[] getURLMappings();
46 public Object[] getDeleteElements();
47
48 public String getClassName();
49 public void setClassName(String n);
50
51 public String getPackageName();
52
53 public File getJavaClassSource();
54 public void setJavaClassSource(File f, OtterXMLCNode node);
55
56 public File getJavaInterfaceSource();
57 public void setJavaInterfaceSource(File f, OtterXMLCNode node);
58
59 public String getInputDocument();
60 public void setInputDocument(String s);
61
62 public String getDocumentOutput();
63 public void setDocumentOutput(String 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 f) throws IOException;
93
94 }