Java Doc for CBuiltinLeafInfo.java in  » 6.0-JDK-Modules » jaxb-xjc » com » sun » tools » xjc » model » 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 » jaxb xjc » com.sun.tools.xjc.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.tools.xjc.model.CBuiltinLeafInfo

CBuiltinLeafInfo
abstract public class CBuiltinLeafInfo extends BuiltinLeafInfoImpl implements CNonElement(Code)
Encapsulates the default handling for leaf classes (which are bound to text in XML.) In particular this class knows how to convert the lexical value into the Java class according to this default rule.

This represents the spec-defined default handling for the Java type ( CBuiltinLeafInfo.getType() .

For those Java classes (such as String or Boolean ) where the spec designates a specific default handling, there are constants in this class (such as CBuiltinLeafInfo.STRING or CBuiltinLeafInfo.BOOLEAN .)

The generated type-safe enum classes are also a leaf class, and as such there are CEnumLeafInfo that represents it as CBuiltinLeafInfo .

This class represents the default handling, and therefore we can only have one instance per one NType . Handling of other XML Schema types (such as xs:token) are represented as a general TypeUse objects.
author:
   Kohsuke Kawaguchi



Field Summary
final public static  CBuiltinLeafInfoANYTYPE
    
final public static  CBuiltinLeafInfoBASE64_BYTE_ARRAY
    
final public static  CBuiltinLeafInfoBIG_DECIMAL
    
final public static  CBuiltinLeafInfoBIG_INTEGER
    
final public static  CBuiltinLeafInfoBOOLEAN
    
final public static  TypeUseBOOLEAN_ZERO_OR_ONE
     boolean restricted to 0 or 1.
final public static  CBuiltinLeafInfoBYTE
    
final public static  CBuiltinLeafInfoCALENDAR
    
final public static  CBuiltinLeafInfoDATA_HANDLER
    
final public static  CBuiltinLeafInfoDOUBLE
    
final public static  CBuiltinLeafInfoDURATION
    
final public static  CBuiltinLeafInfoFLOAT
    
final public static  TypeUseHEXBIN_BYTE_ARRAY
    
final public static  TypeUseID
    
final public static  TypeUseIDREF
     IDREF.
final public static  CBuiltinLeafInfoIMAGE
    
final public static  CBuiltinLeafInfoINT
    
final public static  Map<NType, CBuiltinLeafInfo>LEAVES
     All built-in leaves.
final public static  CBuiltinLeafInfoLONG
    
final public static  TypeUseNORMALIZED_STRING
    
final public static  CBuiltinLeafInfoQNAME
    
final public static  CBuiltinLeafInfoSHORT
    
final public static  CBuiltinLeafInfoSTRING
    
final public static  TypeUseSTRING_LIST
     For all list of strings, such as NMTOKENS, ENTITIES.
final public static  TypeUseTOKEN
    
final public static  CBuiltinLeafInfoXML_SOURCE
    


Method Summary
final public  CAdaptergetAdapterUse()
    
public  MimeTypegetExpectedMimeType()
    CBuiltinLeafInfo never has a default associated MIME type.
public  CNonElementgetInfo()
     Guaranteed to return this.
public  LocatorgetLocator()
    
final public  XSComponentgetSchemaComponent()
    
public  IDidUse()
    
final public  booleanisCollection()
     Since CBuiltinLeafInfo represents a default binding, it is never a collection.
final public  TypeUsemakeAdapted(Class<? extends XmlAdapter> adapter, boolean copy)
     Creates a TypeUse that represents an adapted use of this CBuiltinLeafInfo .
final public  TypeUsemakeCollection()
     Creates a TypeUse that represents a collection of this CBuiltinLeafInfo .
final public  TypeUsemakeMimeTyped(MimeType mt)
     Creates a TypeUse that represents a MIME-type assocaited version of this CBuiltinLeafInfo .
public  JTypetoType(Outline o, Aspect aspect)
     Gets the code model representation of this type.

Field Detail
ANYTYPE
final public static CBuiltinLeafInfo ANYTYPE(Code)



BASE64_BYTE_ARRAY
final public static CBuiltinLeafInfo BASE64_BYTE_ARRAY(Code)



BIG_DECIMAL
final public static CBuiltinLeafInfo BIG_DECIMAL(Code)



BIG_INTEGER
final public static CBuiltinLeafInfo BIG_INTEGER(Code)



BOOLEAN
final public static CBuiltinLeafInfo BOOLEAN(Code)



BOOLEAN_ZERO_OR_ONE
final public static TypeUse BOOLEAN_ZERO_OR_ONE(Code)
boolean restricted to 0 or 1.



BYTE
final public static CBuiltinLeafInfo BYTE(Code)



CALENDAR
final public static CBuiltinLeafInfo CALENDAR(Code)



DATA_HANDLER
final public static CBuiltinLeafInfo DATA_HANDLER(Code)



DOUBLE
final public static CBuiltinLeafInfo DOUBLE(Code)



DURATION
final public static CBuiltinLeafInfo DURATION(Code)



FLOAT
final public static CBuiltinLeafInfo FLOAT(Code)



HEXBIN_BYTE_ARRAY
final public static TypeUse HEXBIN_BYTE_ARRAY(Code)



ID
final public static TypeUse ID(Code)



IDREF
final public static TypeUse IDREF(Code)
IDREF. IDREF is has a whitespace normalization semantics of token, but we don't want XmlJavaTypeAdapter and XmlIDREF to interact.



IMAGE
final public static CBuiltinLeafInfo IMAGE(Code)



INT
final public static CBuiltinLeafInfo INT(Code)



LEAVES
final public static Map<NType, CBuiltinLeafInfo> LEAVES(Code)
All built-in leaves.



LONG
final public static CBuiltinLeafInfo LONG(Code)



NORMALIZED_STRING
final public static TypeUse NORMALIZED_STRING(Code)



QNAME
final public static CBuiltinLeafInfo QNAME(Code)



SHORT
final public static CBuiltinLeafInfo SHORT(Code)



STRING
final public static CBuiltinLeafInfo STRING(Code)



STRING_LIST
final public static TypeUse STRING_LIST(Code)
For all list of strings, such as NMTOKENS, ENTITIES.



TOKEN
final public static TypeUse TOKEN(Code)



XML_SOURCE
final public static CBuiltinLeafInfo XML_SOURCE(Code)





Method Detail
getAdapterUse
final public CAdapter getAdapterUse()(Code)



getExpectedMimeType
public MimeType getExpectedMimeType()(Code)
CBuiltinLeafInfo never has a default associated MIME type.



getInfo
public CNonElement getInfo()(Code)
Guaranteed to return this.



getLocator
public Locator getLocator()(Code)



getSchemaComponent
final public XSComponent getSchemaComponent()(Code)



idUse
public ID idUse()(Code)



isCollection
final public boolean isCollection()(Code)
Since CBuiltinLeafInfo represents a default binding, it is never a collection.



makeAdapted
final public TypeUse makeAdapted(Class<? extends XmlAdapter> adapter, boolean copy)(Code)
Creates a TypeUse that represents an adapted use of this CBuiltinLeafInfo .



makeCollection
final public TypeUse makeCollection()(Code)
Creates a TypeUse that represents a collection of this CBuiltinLeafInfo .



makeMimeTyped
final public TypeUse makeMimeTyped(MimeType mt)(Code)
Creates a TypeUse that represents a MIME-type assocaited version of this CBuiltinLeafInfo .



toType
public JType toType(Outline o, Aspect aspect)(Code)
Gets the code model representation of this type.



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