S2bConfig.ReadState, S2bConfig.ValidateException| Modifier and Type | Field and Description |
|---|---|
static int |
DTD |
static int |
OUTPUT_JAVABEANS |
static int |
OUTPUT_TRADITIONAL_BASEBEAN |
static int |
XML_SCHEMA |
ATTRIBUTESASPROPERTIES, AUTO, CHECKUPTODATE, CODEGENERATORFACTORY, DEFAULTELEMENTTYPE, DEFAULTSACCESSABLE, DELEGATEDIR, DELEGATEPACKAGE, DOCOMPILE, DOCROOT, DOGENERATION, DUMPBEANTREE, DUMPTOSTRING, EXTENDBASEBEAN, FILEIN, FILENAME, FINDER, FORME, GENERATECOMMONINTERFACE, GENERATEDELEGATOR, GENERATEDOTGRAPH, GENERATEHASCHANGED, GENERATEINTERFACES, GENERATEPARENTREFS, GENERATEPROPERTYEVENTS, GENERATESTOREEVENTS, GENERATESWITCHES, GENERATETAGSFILE, GENERATETIMESTAMP, GENERATETRANSACTIONS, GENERATEVALIDATE, GENERATEXMLIO, INDENT, INDENTAMOUNT, INDEXEDPROPERTYTYPE, INPUTURI, JAVA5, KEEPELEMENTPOSITIONS, LOGSUSPICIOUS, MAKEDEFAULTS, MDDFILE, MDDIN, MESSAGEOUT, METADD, MINFEATURES, NEWESTSOURCETIME, OPTIONALSCALARS, OUTPUTSTREAMPROVIDER, PACKAGEPATH, PROCESSCOMMENTS, PROCESSDOCTYPE, QUIET, READBEANGRAPHFILES, READBEANGRAPHS, READCONFIG, REMOVEUNREFERENCEDNODES, RESPECTEXTENSION, ROOTDIR, SCALAREXCEPTION, SCHEMATYPE, SETDEFAULTS, STANDALONE, STAXPRODUCEXMLEVENTREADER, STAXUSEXMLEVENTREADER, TARGET, THROWERRORS, TRACEDOT, TRACEGEN, TRACEMISC, TRACEPARSE, TRIMNONSTRINGS, USEINTERFACES, USERUNTIME, VETOABLE, WRITEBEANGRAPHFILE, WRITECONFIG| Constructor and Description |
|---|
Config() |
Config(GenBeans.OutputStreamProvider out) |
| Modifier and Type | Method and Description |
|---|---|
void |
buyPremium()
Turn on a bunch of the great switches that arn't on by default.
|
CodeGeneratorFactory |
getCodeGeneratorFactory() |
int |
getSchemaTypeNum() |
boolean |
isTrace() |
Iterator |
readBeanGraphFiles() |
Iterator |
readBeanGraphs() |
void |
readConfigs() |
void |
setDTDIn(InputStream value)
Deprecated.
use setFileIn instead
|
void |
setExtendBaseBean(boolean value) |
void |
setForME(boolean value) |
void |
setIndexedPropertyType(String className) |
void |
setMDDIn(InputStream value)
Deprecated.
use setMddIn instead
|
void |
setMessageOut(PrintStream messageOut) |
void |
setMinFeatures(boolean value) |
void |
setOutputType(int type) |
void |
setPackagePath(String pkg) |
void |
setRootDir(String dir) |
void |
setSchemaType(int type) |
void |
setSchemaTypeNum(int type) |
void |
setTarget(String value) |
void |
setTraceGen(boolean value) |
void |
showHelp(PrintStream out) |
protected int |
unknownArgument(String[] args,
String arg,
int argNum) |
void |
useStrict()
For those who are more concerned with correctness than
backwards compatibility.
|
_getSchemaLocation, _setSchemaLocation, addFinder, addReadBeanGraphFiles, addReadBeanGraphs, addReadConfig, changePropertyByName, childBeans, childBeans, equals, equals, fetchFinderList, fetchPropertyByName, fetchReadBeanGraphFilesList, fetchReadBeanGraphsList, fetchReadConfigList, getDefaultElementType, getDelegateDir, getDelegatePackage, getDocRoot, getDumpBeanTree, getFileIn, getFilename, getFinder, getFinder, getGenerateCommonInterface, getGenerateDotGraph, getIndent, getIndentAmount, getIndexedPropertyType, getInputURI, getMddFile, getMddIn, getMessageOut, getMetaDD, getNewestSourceTime, getOutputStreamProvider, getPackagePath, getReadBeanGraphFiles, getReadBeanGraphFiles, getReadBeanGraphs, getReadBeanGraphs, getReadConfig, getReadConfig, getRootDir, getSchemaType, getTarget, getWriteBeanGraphFile, getWriteConfig, hashCode, isAttributesAsProperties, isAuto, isCheckUpToDate, isDefaultsAccessable, isDoCompile, isDoGeneration, isDumpToString, isExtendBaseBean, isForME, isGenerateDelegator, isGenerateHasChanged, isGenerateInterfaces, isGenerateParentRefs, isGeneratePropertyEvents, isGenerateStoreEvents, isGenerateSwitches, isGenerateTagsFile, isGenerateTimeStamp, isGenerateTransactions, isGenerateValidate, isGenerateXMLIO, isJava5, isKeepElementPositions, isLogSuspicious, isMakeDefaults, isMinFeatures, isOptionalScalars, isProcessComments, isProcessDocType, isQuiet, isRemoveUnreferencedNodes, isRespectExtension, isScalarException, isSetDefaults, isStandalone, isStaxProduceXMLEventReader, isStaxUseXMLEventReader, isThrowErrors, isTraceDot, isTraceGen, isTraceMisc, isTraceParse, isTrimNonStrings, isUseInterfaces, isUseRuntime, isVetoable, missingArgument, missingMandatoryArgument, nameChild, nameChild, nameChild, nameSelf, parseArguments, read, read, read, read, readFromDocument, readNode, readNode, readNodeAttributes, readNodeChild, readNodeChildren, readNoEntityResolver, removeFinder, removeReadBeanGraphFiles, removeReadBeanGraphs, removeReadConfig, setAttributesAsProperties, setAuto, setCheckUpToDate, setCodeGeneratorFactory, setDefaultElementType, setDefaultsAccessable, setDelegateDir, setDelegatePackage, setDoCompile, setDocRoot, setDoGeneration, setDumpBeanTree, setDumpToString, setFileIn, setFilename, setFinder, setFinder, setGenerateCommonInterface, setGenerateDelegator, setGenerateDotGraph, setGenerateHasChanged, setGenerateInterfaces, setGenerateParentRefs, setGeneratePropertyEvents, setGenerateStoreEvents, setGenerateSwitches, setGenerateTagsFile, setGenerateTimeStamp, setGenerateTransactions, setGenerateValidate, setGenerateXMLIO, setIndent, setIndentAmount, setInputURI, setJava5, setKeepElementPositions, setLogSuspicious, setMakeDefaults, setMddFile, setMddIn, setMetaDD, setNewestSourceTime, setOptionalScalars, setOutputStreamProvider, setProcessComments, setProcessDocType, setQuiet, setReadBeanGraphFiles, setReadBeanGraphFiles, setReadBeanGraphs, setReadBeanGraphs, setReadConfig, setReadConfig, setRemoveUnreferencedNodes, setRespectExtension, setRootDir, setScalarException, setSchemaType, setSetDefaults, setStandalone, setStaxProduceXMLEventReader, setStaxUseXMLEventReader, setThrowErrors, setTraceDot, setTraceMisc, setTraceParse, setTrimNonStrings, setUseInterfaces, setUseRuntime, setVetoable, setWriteBeanGraphFile, setWriteConfig, sizeFinder, sizeReadBeanGraphFiles, sizeReadBeanGraphs, sizeReadConfig, toString, validate, write, write, write, write, writeNode, writeNode, writeNode, writeNodeAttributes, writeNodeChildren, writeXML, writeXML, writeXMLpublic static final int XML_SCHEMA
public static final int DTD
public static final int OUTPUT_TRADITIONAL_BASEBEAN
public static final int OUTPUT_JAVABEANS
public Config()
public Config(GenBeans.OutputStreamProvider out)
public void readConfigs()
throws IOException
IOExceptionprotected int unknownArgument(String[] args, String arg, int argNum)
unknownArgument in class S2bConfigpublic void showHelp(PrintStream out)
public void setMessageOut(PrintStream messageOut)
setMessageOut in class S2bConfigpublic void setOutputType(int type)
public CodeGeneratorFactory getCodeGeneratorFactory()
getCodeGeneratorFactory in class S2bConfigpublic void setPackagePath(String pkg)
setPackagePath in class S2bConfigpublic boolean isTrace()
public void setTraceGen(boolean value)
setTraceGen in class S2bConfigpublic Iterator readBeanGraphs()
public Iterator readBeanGraphFiles()
public int getSchemaTypeNum()
public void setSchemaType(int type)
public void setSchemaTypeNum(int type)
public void setMDDIn(InputStream value)
public void setDTDIn(InputStream value)
public void setRootDir(String dir)
public void setIndexedPropertyType(String className)
setIndexedPropertyType in class S2bConfigpublic void buyPremium()
public void useStrict()
public void setMinFeatures(boolean value)
setMinFeatures in class S2bConfigpublic void setExtendBaseBean(boolean value)
setExtendBaseBean in class S2bConfigCopyright © 2017. All Rights Reserved.