001: /*
002: * Enhydra Java Application Server Project
003: *
004: * The contents of this file are subject to the Enhydra Public License
005: * Version 1.1 (the "License"); you may not use this file except in
006: * compliance with the License. You may obtain a copy of the License on
007: * the Enhydra web site ( http://www.enhydra.org/ ).
008: *
009: * Software distributed under the License is distributed on an "AS IS"
010: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
011: * the License for the specific terms governing rights and limitations
012: * under the License.
013: *
014: * The Initial Developer of the Enhydra Application Server is Lutris
015: * Technologies, Inc. The Enhydra Application Server and portions created
016: * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
017: * All Rights Reserved.
018: *
019: * Contributor(s):
020: *
021: */
022:
023: package org.enhydra.kelp.common.bridge;
024:
025: // Kelp imports
026: import org.enhydra.kelp.common.node.OtterXMLCNode;
027:
028: // XMLC imports
029: import org.enhydra.xml.xmlc.XMLCException;
030:
031: // Standard imports
032: import java.io.File;
033: import java.io.IOException;
034: import java.io.PrintWriter;
035:
036: public interface MetaDataHandler {
037:
038: public void parse(String[] files, String[] args,
039: PrintWriter writer, OtterXMLCNode node)
040: throws XMLCException, IOException;
041:
042: public Object getMetaData();
043:
044: public Object[] getURLMappings();
045:
046: public Object[] getDeleteElements();
047:
048: public String getClassName();
049:
050: public void setClassName(String n);
051:
052: public String getPackageName();
053:
054: public File getJavaClassSource();
055:
056: public void setJavaClassSource(File f, OtterXMLCNode node);
057:
058: public File getJavaInterfaceSource();
059:
060: public void setJavaInterfaceSource(File f, OtterXMLCNode node);
061:
062: public String getInputDocument();
063:
064: public void setInputDocument(String s);
065:
066: public String getDocumentOutput();
067:
068: public void setDocumentOutput(String s);
069:
070: public boolean getCompileSource();
071:
072: public void setCompileSource(boolean b);
073:
074: public boolean getKeepGeneratedSource();
075:
076: public void setKeepGeneratedSource(boolean keep);
077:
078: public boolean getPrintAccessorInfo();
079:
080: public void setPrintAccessorInfo(boolean b);
081:
082: public boolean getPrintDocumentInfo();
083:
084: public void setPrintDocumentInfo(boolean b);
085:
086: public boolean getPrintDOM();
087:
088: public void setPrintDOM(boolean b);
089:
090: public boolean getPrintParseInfo();
091:
092: public void setPrintParseInfo(boolean b);
093:
094: public boolean getVerbose();
095:
096: public void setVerbose(boolean b);
097:
098: public boolean getRecompilation();
099:
100: public void setRecompilation(boolean b);
101:
102: public boolean getPrintVersion();
103:
104: public void setPrintVersion(boolean b);
105:
106: public void save(File f) throws IOException;
107:
108: }
|