All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.netbeans.modules.schema2beansdev.s2bconfig.xsd Maven / Gradle / Ivy





  
	
	  
		
		
		
		
		
		
		  
			filename is the name of the schema (eg, DTD) input file
			
			  f
			  file name of the schema
			  
			
		  
		
		
		  
			fileIn is the InputStream version of filename.  If fileIn is set, then filename is ignored.
		  
		
		
		  
			
			  d
			  DTD root element name (for example webapp or ejb-jar)
			
		  
		
		
		  
			
			  r
			  base root directory (root of the package path)
			
		  
		
		
		  
			
			  p
			  package name
			
		  
		
		
		
		
		  
			
			  sp
			  set the indentation to use 'number' spaces instead of the default tab (\t) value
			
		  
		
		
		  
			
			  mdd
			  provides extra information that the schema cannot provide. If the file doesn't exist, a skeleton file is created and no bean generation happens.
			
		  
		
		
		  
			If mddIn is set, then the mdd file is read from there and we don't write out own.
		  
		
		
		
		
		  
			
			  noe
			  do not throw the NoSuchElement exception when a scalar property has no value, return a default '0' value instead (BaseBean only).
			
		  
		
		
		  
			
			  ts
			  the toString() of the bean returns the full content\n  of the bean sub-tree instead of its simple name.
			
		  
		
		
		  
			Enable veto events.
			
			  veto
			  generate vetoable properties (only for non-bean properties).
			
		  
		
		
		  
			
			  st
			  standalone mode - do not generate NetBeans dependencies
			
		  
		
		
		  
			auto is set when it is assumed that there is no user sitting in front of System.in
			
			  auto
			  Don't ask the user any questions.
			
		  
		
		
		
		
		  
			
			  throw
			  generate code that prefers to pass exceptions\n  through instead of converting them to RuntimeException (recommended).
			
		  
		
		
		  
			Whether or not to generate classes that do XML I/O.
		  
		
		
		  
			Whether or not to generate code to do validation
			
			  validate
			  Generate a validate method for doing validation.
			
		  
		
		
		  
			
			  propertyEvents
			  Generate methods for dealing with property events (always on for BaseBean type).
			
		  
		
		
		
		  
			
			  transactions
			  experimental feature
			
		  
		
		
		  
			
			  attrProp
			  Attributes become like any other property
			
		  
		
		
		  
			
			  delegator
			  Generate a delegator class for every bean generated.
			
		  
		
		
		  
			
			  delegateDir
			  The base directory to write every delegate into.
			
		  
		
		
		  
			
			  delegatePackage
			  The package to use for the delegates.
			
		  
		
		
		  
			Generate an interface with all common methods in it.  Setting the interface name to null will make it not use one.
			
			  commonInterfaceName
			  Name the common interface between all beans.
			
		  
		
		
		  
			
			  defaultsAccessable
			  Generate methods to be able to get at default values.
			
		  
		
		
		  
			
			  useInterfaces
			  Getters and setters signatures would use the first defined interface on the bean.
			
		  
		
		
		  
			Generate an interface for the bean info accessors
			
			  genInterfaces
			  For every bean generated, generate an interfaces for it's accessors.
			
		  
		
		
		  
			
			  keepElementPositions
			  Keep track of the positions of elements (no BaseBean support).
			
		  
		
		
		  
			
			  removeUnreferencedNodes
			  Do not generate unreferenced nodes from the bean graph.
			
		  
		
		
		  
			If we're passed in a simple InputStream, then the inputURI will help us find relative URI's if anything gets included for imported.
		  
		
		
		  
			This is the name of the class to use for indexed properties.  It must implement java.util.List.  Use null to mean use arrays.
			
			  indexedPropertyType
			  The name of the class to use for indexed properties.
			
		  
		
		
		  
			
			  compile
			  Compile all generated classes using javac.
			
		  
		
		
		  
			
			  generateSwitches
			  Generate parseArguments()
			
		  
		
		
		  
			
			  dumpBeanTree
			  Write out the bean tree to filename.
			
		  
		
		
		  
			
			  genDotGraph
			  Generate a .dot style file for use with GraphViz (http://www.graphviz.org/).
			
		  
		
		
		  
			
			  comments
			  Process and keep comments (always on for BaseBean type).
			
		  
		
		
		  
			
			  docType
			  Process and keep Document Types (always on for BaseBean type)."
			
		  
		
		
		  
			
			  checkUpToDate
			  Only do generation if the source files are newer than the to be generated files.
			
		  
		
		
		
		  
			
			  hasChanged
			  Keep track of whether or not the beans have changed.
			
		  
		
		
		  
			Of all our source files, newestSourceTime represents the most recently modified one.
		  
		
		
		  
			
			  writeBeanGraph
			  Write out a beangraph XML file.  Useful for connecting separate bean graphs.
			
		  
		
		
		  
			
			  readBeanGraph
			  Read in and use the results of another bean graph.
			
		  
		
		
		
		  
			
			  min
			  Generate the minimum Java Beans.  Reduce features in favor of reduced class file size.
			
		  
		
		
		  
			
			  forME
			  Generate code for use on J2ME.
			
		  
		
		
		  
			
			  java5
			  Generate code for use on Java 5 and newer.
			
		  
		
		
		  
			
			  tagsFile
			  Generate a class that has all schema element and attribute names
			
		  
		
		
		  
			Setting the factory to null will make it use the default one.
		  
		
		
		  
			
			  generateTimeStamp
			  Output a born on date into generated files.
			
		  
		
		
		  
			
			  quiet
			  Don't be as verbose.
			
		  
		
		
		  
			
			  writeConfig
			  Write out Config as a file; this includes all command line switches.  Useful for seeing what switches are set, and for reloading a bunch of switches with -readConfig.
			
		  
		
		
		  
			
			  readConfig
			  Read in Config file.  See -writeConfig.
			
		  
		
		
		  
			
			  makeDefaults
			  Make properties that require a value have a default value even if the schema didn't say it had a default (defaults to true).
			
		  
		
		
		  
			
			  setDefaults
			  Fill in defaults.
			
		  
		
		
		  
			
			  trimNonStrings
			  Trim non strings while reading XML.
			
		  
		
		
		  
			
			  useRuntime
			  Make use of the schema2beans runtime (always on for BaseBean type).
			
		  
		
		
		  
			
			  extendBaseBean
			  Make every bean extend BaseBean (always on for BaseBean type).  For those who like -javabean's better performance, but can't seem to get away from BaseBean.
			
		  
		
		
		  
			
			  finder
			  Add a finder method.  Format: "on {start} find {selector} by {key}".  Example: "on /ejb-jar/enterprise-beans find session by ejb-name".
			
		  
		
		
		  
			
			  target
			  Target JDK to generate for.
			
		  
		
                
                    
                        
                        staxProduceXMLEventReader
                        Produce a StAX XMLEventReader to read the beans as if they were XML.
                        
                    
                
                
                    
                        
                        staxUseXMLEventReader
                        Use an StAX XMLEventReader for reading the beans.
                        
                    
                
                
                  
                        
                          optionalScalars
                          Whether or not scalars can be optional.  Default: false.  Recommended: true.
                        
                  
                
                
                  
                        
                          defaultElementType
                          When a type cannot be figured out, use this type.  Default: "{http://www.w3.org/2001/XMLSchema}boolean".
                        
                  
                
                
                  
                        
                          respectExtension
                          Take advantage of when an extension is defined in the schema.
                        
                  
                
                
                  
                        
                          logSuspicious
                          Log suspicious things.
                        
                  
                
	  
	
  





© 2015 - 2025 Weber Informatics LLC | Privacy Policy