Java Doc for CustomizationCommandLineBase.java in  » XML » jibx-1.1.5 » org » jibx » binding » generator » 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 » XML » jibx 1.1.5 » org.jibx.binding.generator 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jibx.binding.generator.CustomizationCommandLineBase

All known Subclasses:   org.jibx.ws.wsdl.WsdlGeneratorCommandLine,  org.jibx.binding.generator.BindingGeneratorCommandLine,
CustomizationCommandLineBase
abstract public class CustomizationCommandLineBase (Code)
Command line processor for customizable tools.

Inner Class :protected static class ArgList

Field Summary
final protected static  String[]BASE_USAGE_LINES
     Ordered array of usage lines.
final public static  Class[]STRING_PARAMETER_ARRAY
     Array of method parameter classes for single String parameter.
final public static  Class[]STRING_UNMARSHALLER_PARAMETER_ARRAY
     Array of classes for String and unmarshaller parameters.


Method Summary
public static  MapapplyKeyValueMap(Map map, Object obj)
     Apply a key/value map to a customization object instance.
abstract protected  MapapplyOverrides(Map overmap)
     Apply map of override values to customizations read from file or created as default.
protected  booleancheckParameter(ArgList alist)
     Check extension parameter.
public  ListgetExtraArgs()
     Get extra arguments from command line.
public  FilegetGeneratePath()
     Get generate directory.
abstract protected  voidloadCustomizations(String path, IClassLocator loc)
     Load the customizations file.
protected  String[]mergeUsageLines(String[] base, String[] adds)
     Merge two arrays of strings, returning an ordered array containing all the strings from both provided arrays.
abstract public  voidprintUsage()
     Print usage information.
public  booleanprocessArgs(String[] args)
     Process command line arguments array.
public static  booleanputKeyValue(String def, Map map)
     Set a key=value definition in a map.
protected  voidverboseDetails()
     Print any extension details.

Field Detail
BASE_USAGE_LINES
final protected static String[] BASE_USAGE_LINES(Code)
Ordered array of usage lines.



STRING_PARAMETER_ARRAY
final public static Class[] STRING_PARAMETER_ARRAY(Code)
Array of method parameter classes for single String parameter.



STRING_UNMARSHALLER_PARAMETER_ARRAY
final public static Class[] STRING_UNMARSHALLER_PARAMETER_ARRAY(Code)
Array of classes for String and unmarshaller parameters.





Method Detail
applyKeyValueMap
public static Map applyKeyValueMap(Map map, Object obj)(Code)
Apply a key/value map to a customization object instance. This uses reflection to match the keys to either set methods (with names of the form setZZZText, or setZZZ, taking a single String parameter) or String fields (named m_ZZZ). The ZZZ in the names is based on the key name, with hyphenation converted to camel case (leading upper camel case, for the method names).
Parameters:
  map -
Parameters:
  obj - map for key/values not found in the supplied object



applyOverrides
abstract protected Map applyOverrides(Map overmap)(Code)
Apply map of override values to customizations read from file or created as default.
Parameters:
  overmap - override key-value map map for key/values not recognized



checkParameter
protected boolean checkParameter(ArgList alist)(Code)
Check extension parameter. This method may be overridden by subclasses to process parameters beyond those known to this base class.
Parameters:
  alist - argument list true if parameter processed, false ifunknown



getExtraArgs
public List getExtraArgs()(Code)
Get extra arguments from command line. These extra arguments must follow all parameter flags. args



getGeneratePath
public File getGeneratePath()(Code)
Get generate directory. directory



loadCustomizations
abstract protected void loadCustomizations(String path, IClassLocator loc) throws JiBXException, IOException(Code)
Load the customizations file. This method must load the specified customizations file, or create a default customizations instance, of the appropriate type.
Parameters:
  path - customizations file path, null if none
Parameters:
  loc - class locator
throws:
  JiBXException -
throws:
  IOException -



mergeUsageLines
protected String[] mergeUsageLines(String[] base, String[] adds)(Code)
Merge two arrays of strings, returning an ordered array containing all the strings from both provided arrays.
Parameters:
  base -
Parameters:
  adds - ordered merged



printUsage
abstract public void printUsage()(Code)
Print usage information.



processArgs
public boolean processArgs(String[] args) throws JiBXException, IOException(Code)
Process command line arguments array.
Parameters:
  args - true if valid, false if not
throws:
  JiBXException -
throws:
  IOException -



putKeyValue
public static boolean putKeyValue(String def, Map map)(Code)
Set a key=value definition in a map. This is a command line processing assist method that prints an error message directly if the expected format is not found.
Parameters:
  def -
Parameters:
  map - true if successful, false if error



verboseDetails
protected void verboseDetails()(Code)
Print any extension details. This method may be overridden by subclasses to print extension parameter values for verbose output.



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.