uk.org.jcam
Class CAM
java.lang.Object
uk.org.jcam.CAM
public class CAM
- extends java.lang.Object
file: uk.org.jcam.processor.CAM.java
contains the static declarations for the cam processor
contains the main entry point and functions to validate and trim
- Author:
- robertmm Date: 24-Jun-2003 Time: 17:39:10
|
Constructor Summary |
CAM()
|
|
Method Summary |
static java.lang.String |
getCAMERRORTEMPLATE()
|
static java.lang.String |
getCAMERRORTEMPLATEOUTPUT()
|
static Container |
getContainer()
|
static boolean |
isDebug()
|
static boolean |
isETrace()
|
static boolean |
isTrace()
|
static boolean |
isVerbose()
|
static void |
main(java.lang.String[] args)
Main entry point for the cam processor when run from the command line
usage: jcam [-i ID] [-d] [-u] [-U] [-v] [-z] [-Z]3 [-y | -c | -t | -a][-O file]
[-a] [-E file] [-X filename] [-S file] [-Y file] [-c] [-T file] [-t] [-P
parameter=value] [-?] [-f]
-? Print this message
-E External output filename
-O Cam template output filename
-P Input parameter(s)
-S XML file output filename
-T Cam template file name
-U All input filenames are URL
-X XML input file name
-a Adorn output with UID information
-c Validate xml file against template
-d Print debugging information
-Y XSLT Sheet to transform error output
-f Exit at first validation error
-i Template structure ID
-t Trim the template
-u Template filename is a URL
-v Be verbose
-y Trim the template using default rules only
-z Produce trace information
-Z Produce element trace |
static void |
resetContainer()
|
static void |
setCAMERRORTEMPLATE(java.lang.String camerrortemplate)
|
static void |
setCAMERRORTEMPLATEOUTPUT(java.lang.String camerrortemplateoutput)
|
static void |
setDebug(boolean debug)
|
static void |
setETrace(boolean trace)
|
static void |
setTrace(boolean trace)
|
static void |
setVerbose(boolean verbose)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public static boolean debug
External
public static boolean External
trace
public static boolean trace
verbose
public static boolean verbose
eTrace
public static boolean eTrace
eTraceLevel
public static java.lang.String eTraceLevel
hasErrors
public static boolean hasErrors
encoding
public static java.lang.String encoding
correctNamespaces
public static boolean correctNamespaces
CAM
public CAM()
throws CAMException
- Throws:
CAMException
main
public static void main(java.lang.String[] args)
throws CAMException
- Main entry point for the cam processor when run from the command line
usage: jcam [-i ID] [-d] [-u] [-U] [-v] [-z] [-Z]3 [-y | -c | -t | -a][-O file]
[-a] [-E file] [-X filename] [-S file] [-Y file] [-c] [-T file] [-t] [-P
parameter=value] [-?] [-f]
-? Print this message
-E External output filename
-O Cam template output filename
-P Input parameter(s)
-S XML file output filename
-T Cam template file name
-U All input filenames are URL
-X XML input file name
-a Adorn output with UID information
-c Validate xml file against template
-d Print debugging information
-Y XSLT Sheet to transform error output
-f Exit at first validation error
-i Template structure ID
-t Trim the template
-u Template filename is a URL
-v Be verbose
-y Trim the template using default rules only
-z Produce trace information
-Z Produce element trace
- Parameters:
args -
- Throws:
CAMException
getCAMERRORTEMPLATE
public static java.lang.String getCAMERRORTEMPLATE()
- Returns:
- Returns the cAMERRORTEMPLATE.
setCAMERRORTEMPLATE
public static void setCAMERRORTEMPLATE(java.lang.String camerrortemplate)
- Parameters:
camerrortemplate - The cAMERRORTEMPLATE to set.
getCAMERRORTEMPLATEOUTPUT
public static java.lang.String getCAMERRORTEMPLATEOUTPUT()
- Returns:
- Returns the cAMERRORTEMPLATEOUTPUT.
setCAMERRORTEMPLATEOUTPUT
public static void setCAMERRORTEMPLATEOUTPUT(java.lang.String camerrortemplateoutput)
- Parameters:
camerrortemplateoutput - The cAMERRORTEMPLATEOUTPUT to set.
isDebug
public static boolean isDebug()
- Returns:
- Returns the debug.
setDebug
public static void setDebug(boolean debug)
- Parameters:
debug - The debug to set.
isETrace
public static boolean isETrace()
- Returns:
- Returns the eTrace.
setETrace
public static void setETrace(boolean trace)
- Parameters:
trace - The eTrace to set.
isTrace
public static boolean isTrace()
- Returns:
- Returns the trace.
setTrace
public static void setTrace(boolean trace)
- Parameters:
trace - The trace to set.
isVerbose
public static boolean isVerbose()
- Returns:
- Returns the verbose.
setVerbose
public static void setVerbose(boolean verbose)
- Parameters:
verbose - The verbose to set.
getContainer
public static Container getContainer()
resetContainer
public static void resetContainer()