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


java.lang.Object
   com.sun.tools.internal.xjc.model.CEnumLeafInfo

CEnumLeafInfo
final public class CEnumLeafInfo implements EnumLeafInfo<NType, NClass>,NClass,CNonElement(Code)
Transducer that converts a string into an "enumeration class." The structure of the generated class needs to precisely follow the JAXB spec.
author:
   Kohsuke KAWAGUCHI


Field Summary
final public  CNonElementbase
     Represents the underlying type of this enumeration and its conversion.
public  Stringjavadoc
    
final public  Collection<CEnumConstant>members
     List of enum members.
final public  Modelmodel
     The Model object to which this bean belongs.
final public  CClassInfoParentparent
     The parent into which the enum class should be generated.
final public  StringshortName
     Short name of the generated type-safe enum.

Constructor Summary
public  CEnumLeafInfo(Model model, QName typeName, CClassInfoParent container, String shortName, CNonElement base, Collection<CEnumConstant> _members, XSComponent source, CCustomizations customizations, Locator _sourceLocator)
    

Method Summary
public  Element<NType, NClass>asElement()
    
public  booleancanBeReferencedByIDREF()
    
public  JExpressioncreateConstant(Outline outline, XmlString literal)
    
public  StringfullName()
    
public  CAdaptergetAdapterUse()
    
public  NonElement<NType, NClass>getBaseType()
    
public  NClassgetClazz()
    
public  Collection<CEnumConstant>getConstants()
    
public  CCustomizationsgetCustomizations()
    
public  QNamegetElementName()
    
public  MimeTypegetExpectedMimeType()
    
public  CTypeInfogetInfo()
    
public  LocationgetLocation()
    
public  LocatorgetLocator()
     Source line information that points to the place where this type-safe enum is defined.
public  XSComponentgetSchemaComponent()
    
public  NTypegetType()
    
public  QNamegetTypeName()
    
public  LocatablegetUpstream()
    
public  IDidUse()
    
public  booleanisAbstract()
    
public  booleanisBoxedType()
    
public  booleanisCollection()
    
public  booleanisElement()
    
public  booleanisPrimitive()
    
public  booleanisSimpleType()
    
public  booleanneedsValueField()
     The spec says the value field in the enum class will be generated only under certain circumstances.
public  JClasstoType(Outline o, Aspect aspect)
    

Field Detail
base
final public CNonElement base(Code)
Represents the underlying type of this enumeration and its conversion.

To parse XML into a constant, we use the base type to do lexical -> value, then use a map to pick up the right one.

Hence this also represents the type of the Java value. For example, if this is an enumeration of xs:int, then this field will be Java int.




javadoc
public String javadoc(Code)



members
final public Collection<CEnumConstant> members(Code)
List of enum members.



model
final public Model model(Code)
The Model object to which this bean belongs.



parent
final public CClassInfoParent parent(Code)
The parent into which the enum class should be generated.



shortName
final public String shortName(Code)
Short name of the generated type-safe enum.




Constructor Detail
CEnumLeafInfo
public CEnumLeafInfo(Model model, QName typeName, CClassInfoParent container, String shortName, CNonElement base, Collection<CEnumConstant> _members, XSComponent source, CCustomizations customizations, Locator _sourceLocator)(Code)




Method Detail
asElement
public Element<NType, NClass> asElement()(Code)



canBeReferencedByIDREF
public boolean canBeReferencedByIDREF()(Code)



createConstant
public JExpression createConstant(Outline outline, XmlString literal)(Code)



fullName
public String fullName()(Code)



getAdapterUse
public CAdapter getAdapterUse()(Code)



getBaseType
public NonElement<NType, NClass> getBaseType()(Code)



getClazz
public NClass getClazz()(Code)



getConstants
public Collection<CEnumConstant> getConstants()(Code)



getCustomizations
public CCustomizations getCustomizations()(Code)



getElementName
public QName getElementName()(Code)



getExpectedMimeType
public MimeType getExpectedMimeType()(Code)



getInfo
public CTypeInfo getInfo()(Code)



getLocation
public Location getLocation()(Code)



getLocator
public Locator getLocator()(Code)
Source line information that points to the place where this type-safe enum is defined. Used to report error messages.



getSchemaComponent
public XSComponent getSchemaComponent()(Code)



getType
public NType getType()(Code)



getTypeName
public QName getTypeName()(Code)



getUpstream
public Locatable getUpstream()(Code)



idUse
public ID idUse()(Code)



isAbstract
public boolean isAbstract()(Code)



isBoxedType
public boolean isBoxedType()(Code)



isCollection
public boolean isCollection()(Code)



isElement
public boolean isElement()(Code)



isPrimitive
public boolean isPrimitive()(Code)



isSimpleType
public boolean isSimpleType()(Code)



needsValueField
public boolean needsValueField()(Code)
The spec says the value field in the enum class will be generated only under certain circumstances. true if the generated enum class should have the value field.



toType
public JClass toType(Outline o, Aspect aspect)(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.