Java Doc for S2bConfig.java in  » IDE-Netbeans » schema2beans » org » netbeans » modules » schema2beansdev » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » schema2beans » org.netbeans.modules.schema2beansdev 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.schema2beansdev.S2bConfig

S2bConfig
public class S2bConfig (Code)

Inner Class :public static class ValidateException extends Exception

Field Summary
final public static  StringATTRIBUTESASPROPERTIES
    
final public static  StringAUTO
    
final public static  StringCHECKUPTODATE
    
final public static  StringCODEGENERATORFACTORY
    
final public static  StringDEFAULTELEMENTTYPE
    
final public static  StringDEFAULTSACCESSABLE
    
final public static  StringDELEGATEDIR
    
final public static  StringDELEGATEPACKAGE
    
final public static  StringDOCOMPILE
    
final public static  StringDOCROOT
    
final public static  StringDOGENERATION
    
final public static  StringDUMPBEANTREE
    
final public static  StringDUMPTOSTRING
    
final public static  StringEXTENDBASEBEAN
    
final public static  StringFILEIN
    
final public static  StringFILENAME
    
final public static  StringFINDER
    
final public static  StringFORME
    
final public static  StringGENERATECOMMONINTERFACE
    
final public static  StringGENERATEDELEGATOR
    
final public static  StringGENERATEDOTGRAPH
    
final public static  StringGENERATEHASCHANGED
    
final public static  StringGENERATEINTERFACES
    
final public static  StringGENERATEPARENTREFS
    
final public static  StringGENERATEPROPERTYEVENTS
    
final public static  StringGENERATESTOREEVENTS
    
final public static  StringGENERATESWITCHES
    
final public static  StringGENERATETAGSFILE
    
final public static  StringGENERATETIMESTAMP
    
final public static  StringGENERATETRANSACTIONS
    
final public static  StringGENERATEVALIDATE
    
final public static  StringGENERATEXMLIO
    
final public static  StringINDENT
    
final public static  StringINDENTAMOUNT
    
final public static  StringINDEXEDPROPERTYTYPE
    
final public static  StringINPUTURI
    
final public static  StringKEEPELEMENTPOSITIONS
    
final public static  StringLOGSUSPICIOUS
    
final public static  StringMAKEDEFAULTS
    
final public static  StringMDDFILE
    
final public static  StringMDDIN
    
final public static  StringMESSAGEOUT
    
final public static  StringMETADD
    
final public static  StringMINFEATURES
    
final public static  StringNEWESTSOURCETIME
    
final public static  StringOPTIONALSCALARS
    
final public static  StringOUTPUTSTREAMPROVIDER
    
final public static  StringPACKAGEPATH
    
final public static  StringPROCESSCOMMENTS
    
final public static  StringPROCESSDOCTYPE
    
final public static  StringQUIET
    
final public static  StringREADBEANGRAPHFILES
    
final public static  StringREADBEANGRAPHS
    
final public static  StringREADCONFIG
    
final public static  StringREMOVEUNREFERENCEDNODES
    
final public static  StringRESPECTEXTENSION
    
final public static  StringROOTDIR
    
final public static  StringSCALAREXCEPTION
    
final public static  StringSCHEMATYPE
    
final public static  StringSETDEFAULTS
    
final public static  StringSTANDALONE
    
final public static  StringSTAXPRODUCEXMLEVENTREADER
    
final public static  StringSTAXUSEXMLEVENTREADER
    
final public static  StringTARGET
    
final public static  StringTHROWERRORS
    
final public static  StringTRACEDOT
    
final public static  StringTRACEGEN
    
final public static  StringTRACEMISC
    
final public static  StringTRACEPARSE
    
final public static  StringTRIMNONSTRINGS
    
final public static  StringUSEINTERFACES
    
final public static  StringUSERUNTIME
    
final public static  StringVETOABLE
    
final public static  StringWRITEBEANGRAPHFILE
    
final public static  StringWRITECONFIG
    

Constructor Summary
public  S2bConfig()
     Normal starting point constructor.
public  S2bConfig(java.lang.String schemaType, java.io.File rootDir, java.lang.String indent, boolean doGeneration, boolean scalarException, boolean generateXMLIO, java.lang.String indexedPropertyType, boolean generateTimeStamp, boolean quiet, boolean makeDefaults)
    
public  S2bConfig(org.netbeans.modules.schema2beansdev.S2bConfig source)
    
public  S2bConfig(org.netbeans.modules.schema2beansdev.S2bConfig source, boolean justData)
    

Method Summary
public  String_getSchemaLocation()
    
public  void_setSchemaLocation(String location)
    
public  intaddFinder(java.lang.String value)
    
public  intaddReadBeanGraphFiles(java.io.File value)
    
public  intaddReadBeanGraphs(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph value)
    
public  intaddReadConfig(java.io.File value)
    
public  voidchangePropertyByName(String name, Object value)
    
public  java.lang.Object[]childBeans(boolean recursive)
     Return an array of all of the properties that are beans and are set.
public  voidchildBeans(boolean recursive, java.util.List beans)
     Put all child beans into the beans list.
public  booleanequals(Object o)
    
public  booleanequals(org.netbeans.modules.schema2beansdev.S2bConfig inst)
    
public  java.util.ListfetchFinderList()
    
public  ObjectfetchPropertyByName(String name)
    
public  java.util.ListfetchReadBeanGraphFilesList()
    
public  java.util.ListfetchReadBeanGraphsList()
    
public  java.util.ListfetchReadConfigList()
    
public  org.netbeans.modules.schema2beansdev.CodeGeneratorFactorygetCodeGeneratorFactory()
    
public  java.lang.StringgetDefaultElementType()
    
public  java.io.FilegetDelegateDir()
    
public  java.lang.StringgetDelegatePackage()
    
public  java.lang.StringgetDocRoot()
    
public  java.io.FilegetDumpBeanTree()
    
public  java.io.InputStreamgetFileIn()
    
public  java.io.FilegetFilename()
    
public  java.lang.String[]getFinder()
    
public  java.lang.StringgetFinder(int index)
    
public  java.lang.StringgetGenerateCommonInterface()
    
public  java.io.FilegetGenerateDotGraph()
    
public  java.lang.StringgetIndent()
    
public  intgetIndentAmount()
    
public  java.lang.StringgetIndexedPropertyType()
    
public  java.lang.StringgetInputURI()
    
public  java.io.FilegetMddFile()
    
public  java.io.InputStreamgetMddIn()
    
public  java.io.PrintStreamgetMessageOut()
    
public  org.netbeans.modules.schema2beansdev.metadd.MetaDDgetMetaDD()
    
public  longgetNewestSourceTime()
    
public  org.netbeans.modules.schema2beansdev.GenBeans.OutputStreamProvidergetOutputStreamProvider()
    
public  java.lang.StringgetPackagePath()
    
public  java.io.File[]getReadBeanGraphFiles()
    
public  java.io.FilegetReadBeanGraphFiles(int index)
    
public  org.netbeans.modules.schema2beansdev.beangraph.BeanGraph[]getReadBeanGraphs()
    
public  org.netbeans.modules.schema2beansdev.beangraph.BeanGraphgetReadBeanGraphs(int index)
    
public  java.io.File[]getReadConfig()
    
public  java.io.FilegetReadConfig(int index)
    
public  java.io.FilegetRootDir()
    
public  java.lang.StringgetSchemaType()
    
public  java.lang.StringgetTarget()
    
public  java.io.FilegetWriteBeanGraphFile()
    
public  java.io.FilegetWriteConfig()
    
public  inthashCode()
    
public  booleanisAttributesAsProperties()
    
public  booleanisAuto()
    
public  booleanisCheckUpToDate()
    
public  booleanisDefaultsAccessable()
    
public  booleanisDoCompile()
    
public  booleanisDoGeneration()
    
public  booleanisDumpToString()
    
public  booleanisExtendBaseBean()
    
public  booleanisForME()
    
public  booleanisGenerateDelegator()
    
public  booleanisGenerateHasChanged()
    
public  booleanisGenerateInterfaces()
    
public  booleanisGenerateParentRefs()
    
public  booleanisGeneratePropertyEvents()
    
public  booleanisGenerateStoreEvents()
    
public  booleanisGenerateSwitches()
    
public  booleanisGenerateTagsFile()
    
public  booleanisGenerateTimeStamp()
    
public  booleanisGenerateTransactions()
    
public  booleanisGenerateValidate()
    
public  booleanisGenerateXMLIO()
    
public  booleanisKeepElementPositions()
    
public  booleanisLogSuspicious()
    
public  booleanisMakeDefaults()
    
public  booleanisMinFeatures()
    
public  booleanisOptionalScalars()
    
public  booleanisProcessComments()
    
public  booleanisProcessDocType()
    
public  booleanisQuiet()
    
public  booleanisRemoveUnreferencedNodes()
    
public  booleanisRespectExtension()
    
public  booleanisScalarException()
    
public  booleanisSetDefaults()
    
public  booleanisStandalone()
    
public  booleanisStaxProduceXMLEventReader()
    
public  booleanisStaxUseXMLEventReader()
    
public  booleanisThrowErrors()
    
public  booleanisTraceDot()
    
public  booleanisTraceGen()
    
public  booleanisTraceMisc()
    
public  booleanisTraceParse()
    
public  booleanisTrimNonStrings()
    
public  booleanisUseInterfaces()
    
public  booleanisUseRuntime()
    
public  booleanisVetoable()
    
protected  voidmissingArgument(String[] args, String arg)
    
protected  voidmissingMandatoryArgument(String arg)
    
public  StringnameChild(Object childObj)
    
public  StringnameChild(Object childObj, boolean returnConstName, boolean returnSchemaName)
    
public  StringnameChild(Object childObj, boolean returnConstName, boolean returnSchemaName, boolean returnXPathName)
    
public  StringnameSelf()
    
public  booleanparseArguments(String[] args)
    
public static  S2bConfigread(java.io.File f)
    
public static  S2bConfigread(java.io.InputStream in)
    
public static  S2bConfigread(org.xml.sax.InputSource in, boolean validate, org.xml.sax.EntityResolver er, org.xml.sax.ErrorHandler eh)
    
public static  S2bConfigread(org.w3c.dom.Document document)
    
protected  voidreadFromDocument(org.w3c.dom.Document document)
    
public static  S2bConfigreadNoEntityResolver(java.io.InputStream in)
     Warning: in readNoEntityResolver character and entity references will not be read from any DTD in the XML source.
public  voidreadNode(org.w3c.dom.Node node)
    
public  voidreadNode(org.w3c.dom.Node node, java.util.Map namespacePrefixes)
    
protected  voidreadNodeAttributes(org.w3c.dom.Node node, java.util.Map namespacePrefixes, org.w3c.dom.NamedNodeMap attrs)
    
protected  voidreadNodeChildren(org.w3c.dom.Node node, java.util.Map namespacePrefixes)
    
public  intremoveFinder(java.lang.String value)
     Search from the end looking for @param value, and then remove it.
public  intremoveReadBeanGraphFiles(java.io.File value)
     Search from the end looking for @param value, and then remove it.
public  intremoveReadBeanGraphs(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph value)
     Search from the end looking for @param value, and then remove it.
public  intremoveReadConfig(java.io.File value)
     Search from the end looking for @param value, and then remove it.
public  voidsetAttributesAsProperties(boolean value)
    
public  voidsetAuto(boolean value)
    
public  voidsetCheckUpToDate(boolean value)
    
public  voidsetCodeGeneratorFactory(org.netbeans.modules.schema2beansdev.CodeGeneratorFactory value)
    
public  voidsetDefaultElementType(java.lang.String value)
    
public  voidsetDefaultsAccessable(boolean value)
    
public  voidsetDelegateDir(java.io.File value)
    
public  voidsetDelegatePackage(java.lang.String value)
    
public  voidsetDoCompile(boolean value)
    
public  voidsetDoGeneration(boolean value)
    
public  voidsetDocRoot(java.lang.String value)
    
public  voidsetDumpBeanTree(java.io.File value)
    
public  voidsetDumpToString(boolean value)
    
public  voidsetExtendBaseBean(boolean value)
    
public  voidsetFileIn(java.io.InputStream value)
    
public  voidsetFilename(java.io.File value)
    
public  voidsetFinder(java.lang.String[] value)
    
public  voidsetFinder(int index, java.lang.String value)
    
public  voidsetForME(boolean value)
    
public  voidsetGenerateCommonInterface(java.lang.String value)
    
public  voidsetGenerateDelegator(boolean value)
    
public  voidsetGenerateDotGraph(java.io.File value)
    
public  voidsetGenerateHasChanged(boolean value)
    
public  voidsetGenerateInterfaces(boolean value)
    
public  voidsetGenerateParentRefs(boolean value)
    
public  voidsetGeneratePropertyEvents(boolean value)
    
public  voidsetGenerateStoreEvents(boolean value)
    
public  voidsetGenerateSwitches(boolean value)
    
public  voidsetGenerateTagsFile(boolean value)
    
public  voidsetGenerateTimeStamp(boolean value)
    
public  voidsetGenerateTransactions(boolean value)
    
public  voidsetGenerateValidate(boolean value)
    
public  voidsetGenerateXMLIO(boolean value)
    
public  voidsetIndent(java.lang.String value)
    
public  voidsetIndentAmount(int value)
    
public  voidsetIndexedPropertyType(java.lang.String value)
    
public  voidsetInputURI(java.lang.String value)
    
public  voidsetKeepElementPositions(boolean value)
    
public  voidsetLogSuspicious(boolean value)
    
public  voidsetMakeDefaults(boolean value)
    
public  voidsetMddFile(java.io.File value)
    
public  voidsetMddIn(java.io.InputStream value)
    
public  voidsetMessageOut(java.io.PrintStream value)
    
public  voidsetMetaDD(org.netbeans.modules.schema2beansdev.metadd.MetaDD value)
    
public  voidsetMinFeatures(boolean value)
    
public  voidsetNewestSourceTime(long value)
    
public  voidsetOptionalScalars(boolean value)
    
public  voidsetOutputStreamProvider(org.netbeans.modules.schema2beansdev.GenBeans.OutputStreamProvider value)
    
public  voidsetPackagePath(java.lang.String value)
    
public  voidsetProcessComments(boolean value)
    
public  voidsetProcessDocType(boolean value)
    
public  voidsetQuiet(boolean value)
    
public  voidsetReadBeanGraphFiles(java.io.File[] value)
    
public  voidsetReadBeanGraphFiles(int index, java.io.File value)
    
public  voidsetReadBeanGraphs(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph[] value)
    
public  voidsetReadBeanGraphs(int index, org.netbeans.modules.schema2beansdev.beangraph.BeanGraph value)
    
public  voidsetReadConfig(java.io.File[] value)
    
public  voidsetReadConfig(int index, java.io.File value)
    
public  voidsetRemoveUnreferencedNodes(boolean value)
    
public  voidsetRespectExtension(boolean value)
    
public  voidsetRootDir(java.io.File value)
    
public  voidsetScalarException(boolean value)
    
public  voidsetSchemaType(java.lang.String value)
    
public  voidsetSetDefaults(boolean value)
    
public  voidsetStandalone(boolean value)
    
public  voidsetStaxProduceXMLEventReader(boolean value)
    
public  voidsetStaxUseXMLEventReader(boolean value)
    
public  voidsetTarget(java.lang.String value)
    
public  voidsetThrowErrors(boolean value)
    
public  voidsetTraceDot(boolean value)
    
public  voidsetTraceGen(boolean value)
    
public  voidsetTraceMisc(boolean value)
    
public  voidsetTraceParse(boolean value)
    
public  voidsetTrimNonStrings(boolean value)
    
public  voidsetUseInterfaces(boolean value)
    
public  voidsetUseRuntime(boolean value)
    
public  voidsetVetoable(boolean value)
    
public  voidsetWriteBeanGraphFile(java.io.File value)
    
public  voidsetWriteConfig(java.io.File value)
    
public  voidshowHelp(java.io.PrintStream out)
    
public  intsizeFinder()
    
public  intsizeReadBeanGraphFiles()
    
public  intsizeReadBeanGraphs()
    
public  intsizeReadConfig()
    
public  StringtoString()
    
protected  intunknownArgument(String[] args, String arg, int argNum)
    
public  voidvalidate()
    
public  voidwrite(java.io.File f)
    
public  voidwrite(java.io.OutputStream out)
    
public  voidwrite(java.io.OutputStream out, String encoding)
    
public  voidwrite(java.io.Writer out, String encoding)
     Print this Java Bean to @param out including an XML header.
public  voidwriteNode(java.io.Writer out)
    
public  voidwriteNode(java.io.Writer out, String nodeName, String indent)
    
public  voidwriteNode(java.io.Writer out, String nodeName, String namespace, String indent, java.util.Map namespaceMap)
     It's not recommended to call this method directly.
protected  voidwriteNodeAttributes(java.io.Writer out, String nodeName, String namespace, String indent, java.util.Map namespaceMap)
    
protected  voidwriteNodeChildren(java.io.Writer out, String nodeName, String namespace, String indent, java.util.Map namespaceMap)
    
public static  voidwriteXML(java.io.Writer out, String msg)
     Takes some text to be printed into an XML stream and escapes any characters that might make it invalid XML (like '<').
public static  voidwriteXML(java.io.Writer out, String msg, boolean attribute)
    
public static  voidwriteXML(java.io.Writer out, char msg, boolean attribute)
    

Field Detail
ATTRIBUTESASPROPERTIES
final public static String ATTRIBUTESASPROPERTIES(Code)



AUTO
final public static String AUTO(Code)



CHECKUPTODATE
final public static String CHECKUPTODATE(Code)



CODEGENERATORFACTORY
final public static String CODEGENERATORFACTORY(Code)



DEFAULTELEMENTTYPE
final public static String DEFAULTELEMENTTYPE(Code)



DEFAULTSACCESSABLE
final public static String DEFAULTSACCESSABLE(Code)



DELEGATEDIR
final public static String DELEGATEDIR(Code)



DELEGATEPACKAGE
final public static String DELEGATEPACKAGE(Code)



DOCOMPILE
final public static String DOCOMPILE(Code)



DOCROOT
final public static String DOCROOT(Code)



DOGENERATION
final public static String DOGENERATION(Code)



DUMPBEANTREE
final public static String DUMPBEANTREE(Code)



DUMPTOSTRING
final public static String DUMPTOSTRING(Code)



EXTENDBASEBEAN
final public static String EXTENDBASEBEAN(Code)



FILEIN
final public static String FILEIN(Code)



FILENAME
final public static String FILENAME(Code)



FINDER
final public static String FINDER(Code)



FORME
final public static String FORME(Code)



GENERATECOMMONINTERFACE
final public static String GENERATECOMMONINTERFACE(Code)



GENERATEDELEGATOR
final public static String GENERATEDELEGATOR(Code)



GENERATEDOTGRAPH
final public static String GENERATEDOTGRAPH(Code)



GENERATEHASCHANGED
final public static String GENERATEHASCHANGED(Code)



GENERATEINTERFACES
final public static String GENERATEINTERFACES(Code)



GENERATEPARENTREFS
final public static String GENERATEPARENTREFS(Code)



GENERATEPROPERTYEVENTS
final public static String GENERATEPROPERTYEVENTS(Code)



GENERATESTOREEVENTS
final public static String GENERATESTOREEVENTS(Code)



GENERATESWITCHES
final public static String GENERATESWITCHES(Code)



GENERATETAGSFILE
final public static String GENERATETAGSFILE(Code)



GENERATETIMESTAMP
final public static String GENERATETIMESTAMP(Code)



GENERATETRANSACTIONS
final public static String GENERATETRANSACTIONS(Code)



GENERATEVALIDATE
final public static String GENERATEVALIDATE(Code)



GENERATEXMLIO
final public static String GENERATEXMLIO(Code)



INDENT
final public static String INDENT(Code)



INDENTAMOUNT
final public static String INDENTAMOUNT(Code)



INDEXEDPROPERTYTYPE
final public static String INDEXEDPROPERTYTYPE(Code)



INPUTURI
final public static String INPUTURI(Code)



KEEPELEMENTPOSITIONS
final public static String KEEPELEMENTPOSITIONS(Code)



LOGSUSPICIOUS
final public static String LOGSUSPICIOUS(Code)



MAKEDEFAULTS
final public static String MAKEDEFAULTS(Code)



MDDFILE
final public static String MDDFILE(Code)



MDDIN
final public static String MDDIN(Code)



MESSAGEOUT
final public static String MESSAGEOUT(Code)



METADD
final public static String METADD(Code)



MINFEATURES
final public static String MINFEATURES(Code)



NEWESTSOURCETIME
final public static String NEWESTSOURCETIME(Code)



OPTIONALSCALARS
final public static String OPTIONALSCALARS(Code)



OUTPUTSTREAMPROVIDER
final public static String OUTPUTSTREAMPROVIDER(Code)



PACKAGEPATH
final public static String PACKAGEPATH(Code)



PROCESSCOMMENTS
final public static String PROCESSCOMMENTS(Code)



PROCESSDOCTYPE
final public static String PROCESSDOCTYPE(Code)



QUIET
final public static String QUIET(Code)



READBEANGRAPHFILES
final public static String READBEANGRAPHFILES(Code)



READBEANGRAPHS
final public static String READBEANGRAPHS(Code)



READCONFIG
final public static String READCONFIG(Code)



REMOVEUNREFERENCEDNODES
final public static String REMOVEUNREFERENCEDNODES(Code)



RESPECTEXTENSION
final public static String RESPECTEXTENSION(Code)



ROOTDIR
final public static String ROOTDIR(Code)



SCALAREXCEPTION
final public static String SCALAREXCEPTION(Code)



SCHEMATYPE
final public static String SCHEMATYPE(Code)



SETDEFAULTS
final public static String SETDEFAULTS(Code)



STANDALONE
final public static String STANDALONE(Code)



STAXPRODUCEXMLEVENTREADER
final public static String STAXPRODUCEXMLEVENTREADER(Code)



STAXUSEXMLEVENTREADER
final public static String STAXUSEXMLEVENTREADER(Code)



TARGET
final public static String TARGET(Code)



THROWERRORS
final public static String THROWERRORS(Code)



TRACEDOT
final public static String TRACEDOT(Code)



TRACEGEN
final public static String TRACEGEN(Code)



TRACEMISC
final public static String TRACEMISC(Code)



TRACEPARSE
final public static String TRACEPARSE(Code)



TRIMNONSTRINGS
final public static String TRIMNONSTRINGS(Code)



USEINTERFACES
final public static String USEINTERFACES(Code)



USERUNTIME
final public static String USERUNTIME(Code)



VETOABLE
final public static String VETOABLE(Code)



WRITEBEANGRAPHFILE
final public static String WRITEBEANGRAPHFILE(Code)



WRITECONFIG
final public static String WRITECONFIG(Code)




Constructor Detail
S2bConfig
public S2bConfig()(Code)
Normal starting point constructor.



S2bConfig
public S2bConfig(java.lang.String schemaType, java.io.File rootDir, java.lang.String indent, boolean doGeneration, boolean scalarException, boolean generateXMLIO, java.lang.String indexedPropertyType, boolean generateTimeStamp, boolean quiet, boolean makeDefaults)(Code)
Required parameters constructor



S2bConfig
public S2bConfig(org.netbeans.modules.schema2beansdev.S2bConfig source)(Code)
Deep copy



S2bConfig
public S2bConfig(org.netbeans.modules.schema2beansdev.S2bConfig source, boolean justData)(Code)
Deep copy
Parameters:
  justData - just copy the XML relevant data




Method Detail
_getSchemaLocation
public String _getSchemaLocation()(Code)



_setSchemaLocation
public void _setSchemaLocation(String location)(Code)



addFinder
public int addFinder(java.lang.String value)(Code)



addReadBeanGraphFiles
public int addReadBeanGraphFiles(java.io.File value)(Code)



addReadBeanGraphs
public int addReadBeanGraphs(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph value)(Code)



addReadConfig
public int addReadConfig(java.io.File value)(Code)



changePropertyByName
public void changePropertyByName(String name, Object value)(Code)



childBeans
public java.lang.Object[] childBeans(boolean recursive)(Code)
Return an array of all of the properties that are beans and are set.



childBeans
public void childBeans(boolean recursive, java.util.List beans)(Code)
Put all child beans into the beans list.



equals
public boolean equals(Object o)(Code)



equals
public boolean equals(org.netbeans.modules.schema2beansdev.S2bConfig inst)(Code)



fetchFinderList
public java.util.List fetchFinderList()(Code)



fetchPropertyByName
public Object fetchPropertyByName(String name)(Code)



fetchReadBeanGraphFilesList
public java.util.List fetchReadBeanGraphFilesList()(Code)



fetchReadBeanGraphsList
public java.util.List fetchReadBeanGraphsList()(Code)



fetchReadConfigList
public java.util.List fetchReadConfigList()(Code)



getCodeGeneratorFactory
public org.netbeans.modules.schema2beansdev.CodeGeneratorFactory getCodeGeneratorFactory()(Code)



getDefaultElementType
public java.lang.String getDefaultElementType()(Code)



getDelegateDir
public java.io.File getDelegateDir()(Code)



getDelegatePackage
public java.lang.String getDelegatePackage()(Code)



getDocRoot
public java.lang.String getDocRoot()(Code)



getDumpBeanTree
public java.io.File getDumpBeanTree()(Code)



getFileIn
public java.io.InputStream getFileIn()(Code)



getFilename
public java.io.File getFilename()(Code)



getFinder
public java.lang.String[] getFinder()(Code)



getFinder
public java.lang.String getFinder(int index)(Code)



getGenerateCommonInterface
public java.lang.String getGenerateCommonInterface()(Code)



getGenerateDotGraph
public java.io.File getGenerateDotGraph()(Code)



getIndent
public java.lang.String getIndent()(Code)



getIndentAmount
public int getIndentAmount()(Code)



getIndexedPropertyType
public java.lang.String getIndexedPropertyType()(Code)



getInputURI
public java.lang.String getInputURI()(Code)



getMddFile
public java.io.File getMddFile()(Code)



getMddIn
public java.io.InputStream getMddIn()(Code)



getMessageOut
public java.io.PrintStream getMessageOut()(Code)



getMetaDD
public org.netbeans.modules.schema2beansdev.metadd.MetaDD getMetaDD()(Code)



getNewestSourceTime
public long getNewestSourceTime()(Code)



getOutputStreamProvider
public org.netbeans.modules.schema2beansdev.GenBeans.OutputStreamProvider getOutputStreamProvider()(Code)



getPackagePath
public java.lang.String getPackagePath()(Code)



getReadBeanGraphFiles
public java.io.File[] getReadBeanGraphFiles()(Code)



getReadBeanGraphFiles
public java.io.File getReadBeanGraphFiles(int index)(Code)



getReadBeanGraphs
public org.netbeans.modules.schema2beansdev.beangraph.BeanGraph[] getReadBeanGraphs()(Code)



getReadBeanGraphs
public org.netbeans.modules.schema2beansdev.beangraph.BeanGraph getReadBeanGraphs(int index)(Code)



getReadConfig
public java.io.File[] getReadConfig()(Code)



getReadConfig
public java.io.File getReadConfig(int index)(Code)



getRootDir
public java.io.File getRootDir()(Code)



getSchemaType
public java.lang.String getSchemaType()(Code)



getTarget
public java.lang.String getTarget()(Code)



getWriteBeanGraphFile
public java.io.File getWriteBeanGraphFile()(Code)



getWriteConfig
public java.io.File getWriteConfig()(Code)



hashCode
public int hashCode()(Code)



isAttributesAsProperties
public boolean isAttributesAsProperties()(Code)



isAuto
public boolean isAuto()(Code)



isCheckUpToDate
public boolean isCheckUpToDate()(Code)



isDefaultsAccessable
public boolean isDefaultsAccessable()(Code)



isDoCompile
public boolean isDoCompile()(Code)



isDoGeneration
public boolean isDoGeneration()(Code)



isDumpToString
public boolean isDumpToString()(Code)



isExtendBaseBean
public boolean isExtendBaseBean()(Code)



isForME
public boolean isForME()(Code)



isGenerateDelegator
public boolean isGenerateDelegator()(Code)



isGenerateHasChanged
public boolean isGenerateHasChanged()(Code)



isGenerateInterfaces
public boolean isGenerateInterfaces()(Code)



isGenerateParentRefs
public boolean isGenerateParentRefs()(Code)



isGeneratePropertyEvents
public boolean isGeneratePropertyEvents()(Code)



isGenerateStoreEvents
public boolean isGenerateStoreEvents()(Code)



isGenerateSwitches
public boolean isGenerateSwitches()(Code)



isGenerateTagsFile
public boolean isGenerateTagsFile()(Code)



isGenerateTimeStamp
public boolean isGenerateTimeStamp()(Code)



isGenerateTransactions
public boolean isGenerateTransactions()(Code)



isGenerateValidate
public boolean isGenerateValidate()(Code)



isGenerateXMLIO
public boolean isGenerateXMLIO()(Code)



isKeepElementPositions
public boolean isKeepElementPositions()(Code)



isLogSuspicious
public boolean isLogSuspicious()(Code)



isMakeDefaults
public boolean isMakeDefaults()(Code)



isMinFeatures
public boolean isMinFeatures()(Code)



isOptionalScalars
public boolean isOptionalScalars()(Code)



isProcessComments
public boolean isProcessComments()(Code)



isProcessDocType
public boolean isProcessDocType()(Code)



isQuiet
public boolean isQuiet()(Code)



isRemoveUnreferencedNodes
public boolean isRemoveUnreferencedNodes()(Code)



isRespectExtension
public boolean isRespectExtension()(Code)



isScalarException
public boolean isScalarException()(Code)



isSetDefaults
public boolean isSetDefaults()(Code)



isStandalone
public boolean isStandalone()(Code)



isStaxProduceXMLEventReader
public boolean isStaxProduceXMLEventReader()(Code)



isStaxUseXMLEventReader
public boolean isStaxUseXMLEventReader()(Code)



isThrowErrors
public boolean isThrowErrors()(Code)



isTraceDot
public boolean isTraceDot()(Code)



isTraceGen
public boolean isTraceGen()(Code)



isTraceMisc
public boolean isTraceMisc()(Code)



isTraceParse
public boolean isTraceParse()(Code)



isTrimNonStrings
public boolean isTrimNonStrings()(Code)



isUseInterfaces
public boolean isUseInterfaces()(Code)



isUseRuntime
public boolean isUseRuntime()(Code)



isVetoable
public boolean isVetoable()(Code)



missingArgument
protected void missingArgument(String[] args, String arg)(Code)



missingMandatoryArgument
protected void missingMandatoryArgument(String arg)(Code)



nameChild
public String nameChild(Object childObj)(Code)



nameChild
public String nameChild(Object childObj, boolean returnConstName, boolean returnSchemaName)(Code)

Parameters:
  childObj - The child object to search for
Parameters:
  returnSchemaName - Whether or not the schema name should be returned or the property name null if not found



nameChild
public String nameChild(Object childObj, boolean returnConstName, boolean returnSchemaName, boolean returnXPathName)(Code)

Parameters:
  childObj - The child object to search for
Parameters:
  returnSchemaName - Whether or not the schema name should be returned or the property name null if not found



nameSelf
public String nameSelf()(Code)



parseArguments
public boolean parseArguments(String[] args)(Code)
true if error, then should display help



read
public static S2bConfig read(java.io.File f) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException(Code)



read
public static S2bConfig read(java.io.InputStream in) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException(Code)



read
public static S2bConfig read(org.xml.sax.InputSource in, boolean validate, org.xml.sax.EntityResolver er, org.xml.sax.ErrorHandler eh) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException(Code)



read
public static S2bConfig read(org.w3c.dom.Document document)(Code)



readFromDocument
protected void readFromDocument(org.w3c.dom.Document document)(Code)



readNoEntityResolver
public static S2bConfig readNoEntityResolver(java.io.InputStream in) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException(Code)
Warning: in readNoEntityResolver character and entity references will not be read from any DTD in the XML source. However, this way is faster since no DTDs are looked up (possibly skipping network access) or parsed.



readNode
public void readNode(org.w3c.dom.Node node)(Code)



readNode
public void readNode(org.w3c.dom.Node node, java.util.Map namespacePrefixes)(Code)



readNodeAttributes
protected void readNodeAttributes(org.w3c.dom.Node node, java.util.Map namespacePrefixes, org.w3c.dom.NamedNodeMap attrs)(Code)



readNodeChildren
protected void readNodeChildren(org.w3c.dom.Node node, java.util.Map namespacePrefixes)(Code)



removeFinder
public int removeFinder(java.lang.String value)(Code)
Search from the end looking for @param value, and then remove it.



removeReadBeanGraphFiles
public int removeReadBeanGraphFiles(java.io.File value)(Code)
Search from the end looking for @param value, and then remove it.



removeReadBeanGraphs
public int removeReadBeanGraphs(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph value)(Code)
Search from the end looking for @param value, and then remove it.



removeReadConfig
public int removeReadConfig(java.io.File value)(Code)
Search from the end looking for @param value, and then remove it.



setAttributesAsProperties
public void setAttributesAsProperties(boolean value)(Code)



setAuto
public void setAuto(boolean value)(Code)



setCheckUpToDate
public void setCheckUpToDate(boolean value)(Code)



setCodeGeneratorFactory
public void setCodeGeneratorFactory(org.netbeans.modules.schema2beansdev.CodeGeneratorFactory value)(Code)



setDefaultElementType
public void setDefaultElementType(java.lang.String value)(Code)



setDefaultsAccessable
public void setDefaultsAccessable(boolean value)(Code)



setDelegateDir
public void setDelegateDir(java.io.File value)(Code)



setDelegatePackage
public void setDelegatePackage(java.lang.String value)(Code)



setDoCompile
public void setDoCompile(boolean value)(Code)



setDoGeneration
public void setDoGeneration(boolean value)(Code)



setDocRoot
public void setDocRoot(java.lang.String value)(Code)



setDumpBeanTree
public void setDumpBeanTree(java.io.File value)(Code)



setDumpToString
public void setDumpToString(boolean value)(Code)



setExtendBaseBean
public void setExtendBaseBean(boolean value)(Code)



setFileIn
public void setFileIn(java.io.InputStream value)(Code)



setFilename
public void setFilename(java.io.File value)(Code)



setFinder
public void setFinder(java.lang.String[] value)(Code)



setFinder
public void setFinder(int index, java.lang.String value)(Code)



setForME
public void setForME(boolean value)(Code)



setGenerateCommonInterface
public void setGenerateCommonInterface(java.lang.String value)(Code)



setGenerateDelegator
public void setGenerateDelegator(boolean value)(Code)



setGenerateDotGraph
public void setGenerateDotGraph(java.io.File value)(Code)



setGenerateHasChanged
public void setGenerateHasChanged(boolean value)(Code)



setGenerateInterfaces
public void setGenerateInterfaces(boolean value)(Code)



setGenerateParentRefs
public void setGenerateParentRefs(boolean value)(Code)



setGeneratePropertyEvents
public void setGeneratePropertyEvents(boolean value)(Code)



setGenerateStoreEvents
public void setGenerateStoreEvents(boolean value)(Code)



setGenerateSwitches
public void setGenerateSwitches(boolean value)(Code)



setGenerateTagsFile
public void setGenerateTagsFile(boolean value)(Code)



setGenerateTimeStamp
public void setGenerateTimeStamp(boolean value)(Code)



setGenerateTransactions
public void setGenerateTransactions(boolean value)(Code)



setGenerateValidate
public void setGenerateValidate(boolean value)(Code)



setGenerateXMLIO
public void setGenerateXMLIO(boolean value)(Code)



setIndent
public void setIndent(java.lang.String value)(Code)



setIndentAmount
public void setIndentAmount(int value)(Code)



setIndexedPropertyType
public void setIndexedPropertyType(java.lang.String value)(Code)



setInputURI
public void setInputURI(java.lang.String value)(Code)



setKeepElementPositions
public void setKeepElementPositions(boolean value)(Code)



setLogSuspicious
public void setLogSuspicious(boolean value)(Code)



setMakeDefaults
public void setMakeDefaults(boolean value)(Code)



setMddFile
public void setMddFile(java.io.File value)(Code)



setMddIn
public void setMddIn(java.io.InputStream value)(Code)



setMessageOut
public void setMessageOut(java.io.PrintStream value)(Code)



setMetaDD
public void setMetaDD(org.netbeans.modules.schema2beansdev.metadd.MetaDD value)(Code)



setMinFeatures
public void setMinFeatures(boolean value)(Code)



setNewestSourceTime
public void setNewestSourceTime(long value)(Code)



setOptionalScalars
public void setOptionalScalars(boolean value)(Code)



setOutputStreamProvider
public void setOutputStreamProvider(org.netbeans.modules.schema2beansdev.GenBeans.OutputStreamProvider value)(Code)



setPackagePath
public void setPackagePath(java.lang.String value)(Code)



setProcessComments
public void setProcessComments(boolean value)(Code)



setProcessDocType
public void setProcessDocType(boolean value)(Code)



setQuiet
public void setQuiet(boolean value)(Code)



setReadBeanGraphFiles
public void setReadBeanGraphFiles(java.io.File[] value)(Code)



setReadBeanGraphFiles
public void setReadBeanGraphFiles(int index, java.io.File value)(Code)



setReadBeanGraphs
public void setReadBeanGraphs(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph[] value)(Code)



setReadBeanGraphs
public void setReadBeanGraphs(int index, org.netbeans.modules.schema2beansdev.beangraph.BeanGraph value)(Code)



setReadConfig
public void setReadConfig(java.io.File[] value)(Code)



setReadConfig
public void setReadConfig(int index, java.io.File value)(Code)



setRemoveUnreferencedNodes
public void setRemoveUnreferencedNodes(boolean value)(Code)



setRespectExtension
public void setRespectExtension(boolean value)(Code)



setRootDir
public void setRootDir(java.io.File value)(Code)



setScalarException
public void setScalarException(boolean value)(Code)



setSchemaType
public void setSchemaType(java.lang.String value)(Code)



setSetDefaults
public void setSetDefaults(boolean value)(Code)



setStandalone
public void setStandalone(boolean value)(Code)



setStaxProduceXMLEventReader
public void setStaxProduceXMLEventReader(boolean value)(Code)



setStaxUseXMLEventReader
public void setStaxUseXMLEventReader(boolean value)(Code)



setTarget
public void setTarget(java.lang.String value)(Code)



setThrowErrors
public void setThrowErrors(boolean value)(Code)



setTraceDot
public void setTraceDot(boolean value)(Code)



setTraceGen
public void setTraceGen(boolean value)(Code)



setTraceMisc
public void setTraceMisc(boolean value)(Code)



setTraceParse
public void setTraceParse(boolean value)(Code)



setTrimNonStrings
public void setTrimNonStrings(boolean value)(Code)



setUseInterfaces
public void setUseInterfaces(boolean value)(Code)



setUseRuntime
public void setUseRuntime(boolean value)(Code)



setVetoable
public void setVetoable(boolean value)(Code)



setWriteBeanGraphFile
public void setWriteBeanGraphFile(java.io.File value)(Code)



setWriteConfig
public void setWriteConfig(java.io.File value)(Code)



showHelp
public void showHelp(java.io.PrintStream out)(Code)



sizeFinder
public int sizeFinder()(Code)



sizeReadBeanGraphFiles
public int sizeReadBeanGraphFiles()(Code)



sizeReadBeanGraphs
public int sizeReadBeanGraphs()(Code)



sizeReadConfig
public int sizeReadConfig()(Code)



toString
public String toString()(Code)



unknownArgument
protected int unknownArgument(String[] args, String arg, int argNum)(Code)



validate
public void validate() throws org.netbeans.modules.schema2beansdev.S2bConfig.ValidateException(Code)



write
public void write(java.io.File f) throws java.io.IOException(Code)



write
public void write(java.io.OutputStream out) throws java.io.IOException(Code)



write
public void write(java.io.OutputStream out, String encoding) throws java.io.IOException(Code)



write
public void write(java.io.Writer out, String encoding) throws java.io.IOException(Code)
Print this Java Bean to @param out including an XML header.
Parameters:
  encoding - is the encoding style that @param out was opened with.



writeNode
public void writeNode(java.io.Writer out) throws java.io.IOException(Code)



writeNode
public void writeNode(java.io.Writer out, String nodeName, String indent) throws java.io.IOException(Code)



writeNode
public void writeNode(java.io.Writer out, String nodeName, String namespace, String indent, java.util.Map namespaceMap) throws java.io.IOException(Code)
It's not recommended to call this method directly.



writeNodeAttributes
protected void writeNodeAttributes(java.io.Writer out, String nodeName, String namespace, String indent, java.util.Map namespaceMap) throws java.io.IOException(Code)



writeNodeChildren
protected void writeNodeChildren(java.io.Writer out, String nodeName, String namespace, String indent, java.util.Map namespaceMap) throws java.io.IOException(Code)



writeXML
public static void writeXML(java.io.Writer out, String msg) throws java.io.IOException(Code)
Takes some text to be printed into an XML stream and escapes any characters that might make it invalid XML (like '<').



writeXML
public static void writeXML(java.io.Writer out, String msg, boolean attribute) throws java.io.IOException(Code)



writeXML
public static void writeXML(java.io.Writer out, char msg, boolean attribute) throws java.io.IOException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.