Java Doc for BIGlobalBinding.java in  » 6.0-JDK-Modules-com.sun » tools » com » sun » tools » internal » xjc » reader » xmlschema » bindinfo » 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 » 6.0 JDK Modules com.sun » tools » com.sun.tools.internal.xjc.reader.xmlschema.bindinfo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
      com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIGlobalBinding

BIGlobalBinding
final public class BIGlobalBinding extends AbstractDeclarationImpl (Code)
Global binding customization. The code is highly temporary.

One of the information contained in a global customization is the default binding for properties. This object contains a BIProperty object to keep this information.
author:
   Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)


Inner Class :final static class ClassNameBean
Inner Class :final static class ClassNameAdapter extends ReadOnlyAdapter
Inner Class :final static class GlobalStandardConversion extends BIConversion.User
Inner Class :final static class GlobalVendorConversion extends BIConversion.UserAdapter

Field Summary
final public static  QNameNAME
    
 booleanchoiceContentProperty
    
 ImplStructureStrategycodeGenerationStrategy
     The code generation strategy.
 intdefaultEnumMemberSizeCap
     Default cap to the number of constants in the enum.
 LocalScopingflattenClasses
     If true, interfaces/classes that are normally generated as a nested interface/class will be generated into the package, allowing the generated classes to be flat.
 booleangenerateElementClass
     True to generate a class for elements by default.
 BooleangenerateElementProperty
    
 EnumMemberModegenerateEnumMemberName
     Returns true if the compiler needs to generate type-safe enum member names when enumeration values cannot be used as constant names.
 booleanisJavaNamingConventionEnabled
     Returns true if the "isJavaNamingConventionEnabled" option is turned on.
public  NameConverternameConverter
     Gets the name converter that will govern the XML->Java name conversion process for this compilation.

The "underscoreBinding" customization will determine the exact object returned from this method.

 StringnoMarshaller
    
 StringnoUnmarshaller
    
 StringnoValidatingUnmarshaller
    
 StringnoValidator
    
 OptionalPropertyModeoptionalProperty
    
 StringsimpleMode
     Generate the simpler optimized code, but not necessarily conforming to the spec.
 booleansimpleTypeSubstitution
     True to generate classes for every simple type.
 ClassNameBeansuperClass
     If <xjc:superClass> extension is specified, returns the specified root class.
 ClassNameBeansuperInterface
     If <xjc:superInterface> extension is specified, returns the specified root class.
 TypeSubstitutionElementtypeSubstitution
    

Constructor Summary
public  BIGlobalBinding()
    

Method Summary
public  booleancanBeMappedToTypeSafeEnum(QName typeName)
     Checks if the given XML Schema built-in type can be mapped to a type-safe enum class.
public  booleancanBeMappedToTypeSafeEnum(String nsUri, String localName)
    
public  booleancanBeMappedToTypeSafeEnum(XSDeclaration decl)
    
public  voiddispatchGlobalConversions(XSSchemaSet schema)
     Moves global BIConversion to the right object.
public  voiderrorCheck()
    
public  ImplStructureStrategygetCodeGenerationStrategy()
    
public  intgetDefaultEnumMemberSizeCap()
    
public  BIPropertygetDefaultProperty()
    
public  EnumMemberModegetEnumMemberMode()
    
public  LocalScopinggetFlattenClasses()
    
public  QNamegetName()
    
public  BISerializablegetSerializable()
    
public  JDefinedClassgetSuperClass()
    
public  JDefinedClassgetSuperInterface()
    
 UnderscoreBindinggetUnderscoreBinding()
    
public  booleanisChoiceContentPropertyEnabled()
    
public  booleanisGenerateElementClass()
    
public  booleanisJavaNamingConventionEnabled()
    
public  booleanisSimpleMode()
    
public  booleanisSimpleTypeSubstitution()
    
public  voidonSetOwner()
    
 voidsetGenerateIsSetMethod(boolean b)
    
public  voidsetParent(BindInfo parent)
    
 voidsetUnderscoreBinding(UnderscoreBinding ub)
    
 voidsetXjcSerializable(BISerializable s)
    

Field Detail
NAME
final public static QName NAME(Code)



choiceContentProperty
boolean choiceContentProperty(Code)



codeGenerationStrategy
ImplStructureStrategy codeGenerationStrategy(Code)
The code generation strategy.



defaultEnumMemberSizeCap
int defaultEnumMemberSizeCap(Code)
Default cap to the number of constants in the enum. We won't attempt to produce a type-safe enum by default if there are more enumeration facets than specified in this field.



flattenClasses
LocalScoping flattenClasses(Code)
If true, interfaces/classes that are normally generated as a nested interface/class will be generated into the package, allowing the generated classes to be flat. See Bug 4969415 for the motivation.



generateElementClass
boolean generateElementClass(Code)
True to generate a class for elements by default.



generateElementProperty
Boolean generateElementProperty(Code)



generateEnumMemberName
EnumMemberMode generateEnumMemberName(Code)
Returns true if the compiler needs to generate type-safe enum member names when enumeration values cannot be used as constant names.



isJavaNamingConventionEnabled
boolean isJavaNamingConventionEnabled(Code)
Returns true if the "isJavaNamingConventionEnabled" option is turned on. In this mode, the compiler is expected to apply XML-to-Java name conversion algorithm even to names given by customizations. This method is intended to be called by other BIXXX classes. The effect of this switch should be hidden inside this package. IOW, the reader.xmlschema package shouldn't be aware of this switch.



nameConverter
public NameConverter nameConverter(Code)
Gets the name converter that will govern the XML->Java name conversion process for this compilation.

The "underscoreBinding" customization will determine the exact object returned from this method. The rest of XJC should just use the NameConverter interface.

Always non-null.




noMarshaller
String noMarshaller(Code)



noUnmarshaller
String noUnmarshaller(Code)



noValidatingUnmarshaller
String noValidatingUnmarshaller(Code)



noValidator
String noValidator(Code)



optionalProperty
OptionalPropertyMode optionalProperty(Code)



simpleMode
String simpleMode(Code)
Generate the simpler optimized code, but not necessarily conforming to the spec.



simpleTypeSubstitution
boolean simpleTypeSubstitution(Code)
True to generate classes for every simple type.



superClass
ClassNameBean superClass(Code)
If <xjc:superClass> extension is specified, returns the specified root class. Otherwise null.



superInterface
ClassNameBean superInterface(Code)
If <xjc:superInterface> extension is specified, returns the specified root class. Otherwise null.



typeSubstitution
TypeSubstitutionElement typeSubstitution(Code)




Constructor Detail
BIGlobalBinding
public BIGlobalBinding()(Code)
Creates a bind info object with the default values




Method Detail
canBeMappedToTypeSafeEnum
public boolean canBeMappedToTypeSafeEnum(QName typeName)(Code)
Checks if the given XML Schema built-in type can be mapped to a type-safe enum class.
Parameters:
  typeName -



canBeMappedToTypeSafeEnum
public boolean canBeMappedToTypeSafeEnum(String nsUri, String localName)(Code)



canBeMappedToTypeSafeEnum
public boolean canBeMappedToTypeSafeEnum(XSDeclaration decl)(Code)



dispatchGlobalConversions
public void dispatchGlobalConversions(XSSchemaSet schema)(Code)
Moves global BIConversion to the right object.



errorCheck
public void errorCheck()(Code)
Performs error check



getCodeGenerationStrategy
public ImplStructureStrategy getCodeGenerationStrategy()(Code)



getDefaultEnumMemberSizeCap
public int getDefaultEnumMemberSizeCap()(Code)



getDefaultProperty
public BIProperty getDefaultProperty()(Code)



getEnumMemberMode
public EnumMemberMode getEnumMemberMode()(Code)



getFlattenClasses
public LocalScoping getFlattenClasses()(Code)



getName
public QName getName()(Code)



getSerializable
public BISerializable getSerializable()(Code)



getSuperClass
public JDefinedClass getSuperClass()(Code)



getSuperInterface
public JDefinedClass getSuperInterface()(Code)



getUnderscoreBinding
UnderscoreBinding getUnderscoreBinding()(Code)



isChoiceContentPropertyEnabled
public boolean isChoiceContentPropertyEnabled()(Code)



isGenerateElementClass
public boolean isGenerateElementClass()(Code)



isJavaNamingConventionEnabled
public boolean isJavaNamingConventionEnabled()(Code)



isSimpleMode
public boolean isSimpleMode()(Code)



isSimpleTypeSubstitution
public boolean isSimpleTypeSubstitution()(Code)



onSetOwner
public void onSetOwner()(Code)



setGenerateIsSetMethod
void setGenerateIsSetMethod(boolean b)(Code)



setParent
public void setParent(BindInfo parent)(Code)



setUnderscoreBinding
void setUnderscoreBinding(UnderscoreBinding ub)(Code)



setXjcSerializable
void setXjcSerializable(BISerializable s)(Code)
Another 1.0 compatibility customization (but we accept it and treat it as BIGlobalBinding.serializable )



Fields inherited from com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
Locator loc(Code)(Java Doc)
protected BindInfo parent(Code)(Java Doc)

Methods inherited from com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
final protected BGMBuilder getBuilder()(Code)(Java Doc)
public Collection<BIDeclaration> getChildren()(Code)(Java Doc)
final protected JCodeModel getCodeModel()(Code)(Java Doc)
public Locator getLocation()(Code)(Java Doc)
final protected XSComponent getOwner()(Code)(Java Doc)
final public boolean isAcknowledged()(Code)(Java Doc)
public void markAsAcknowledged()(Code)(Java Doc)
public void onSetOwner()(Code)(Java Doc)
public void setParent(BindInfo p)(Code)(Java Doc)

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)

w_ww__.___ja__va__2__s___.c___o_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.