Java Doc for EnumLeafInfoImpl.java in  » 6.0-JDK-Modules » jaxb-impl » com » sun » xml » bind » v2 » model » impl » 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 impl » com.sun.xml.bind.v2.model.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.xml.bind.v2.model.impl.EnumLeafInfoImpl

EnumLeafInfoImpl
class EnumLeafInfoImpl extends TypeInfoImpl implements EnumLeafInfo<T, C>,Element<T, C>,Iterable<EnumConstantImpl<T, C, F, M>>(Code)
EnumLeafInfo implementation.
author:
   Kohsuke Kawaguchi


Field Summary
 NonElement<T, C>baseType
    
final  Cclazz
     The enum class whose information this object represents.

Constructor Summary
public  EnumLeafInfoImpl(ModelBuilder<T, C, F, M> builder, Locatable upstream, C clazz, T type)
    

Method Summary
public  Element<T, C>asElement()
    
protected  voidcalcConstants()
     Build EnumConstant s and discover/report any error in it.
final public  booleancanBeReferencedByIDREF()
     Leaf-type cannot be referenced from IDREF.
protected  EnumConstantImpl<T, C, F, M>createEnumConstant(String name, String literal, F constant, EnumConstantImpl<T, C, F, M> last)
    
public  NonElement<T, C>getBaseType()
    
public  CgetClazz()
    
public  Iterable<? extends EnumConstantImpl<T, C, F, M>>getConstants()
    
public  QNamegetElementName()
    
public  LocationgetLocation()
    
public  ClassInfo<T, C>getScope()
     When a bean binds to an element, it's always through XmlRootElement , so this method always return null.
public  Element<T, C>getSubstitutionHead()
     No substitution.
public  TgetType()
    
public  QNamegetTypeName()
    
public  booleanisElement()
    
public  booleanisSimpleType()
    
public  Iterator<EnumConstantImpl<T, C, F, M>>iterator()
    
public  voidlink()
    

Field Detail
baseType
NonElement<T, C> baseType(Code)



clazz
final C clazz(Code)
The enum class whose information this object represents.




Constructor Detail
EnumLeafInfoImpl
public EnumLeafInfoImpl(ModelBuilder<T, C, F, M> builder, Locatable upstream, C clazz, T type)(Code)

Parameters:
  clazz -
Parameters:
  type - clazz and type should both point to the enum classthat this EnumLeafInfo represents.Because of the type parameterization we have to take them separately.




Method Detail
asElement
public Element<T, C> asElement()(Code)



calcConstants
protected void calcConstants()(Code)
Build EnumConstant s and discover/report any error in it.



canBeReferencedByIDREF
final public boolean canBeReferencedByIDREF()(Code)
Leaf-type cannot be referenced from IDREF.



createEnumConstant
protected EnumConstantImpl<T, C, F, M> createEnumConstant(String name, String literal, F constant, EnumConstantImpl<T, C, F, M> last)(Code)



getBaseType
public NonElement<T, C> getBaseType()(Code)



getClazz
public C getClazz()(Code)



getConstants
public Iterable<? extends EnumConstantImpl<T, C, F, M>> getConstants()(Code)



getElementName
public QName getElementName()(Code)



getLocation
public Location getLocation()(Code)



getScope
public ClassInfo<T, C> getScope()(Code)
When a bean binds to an element, it's always through XmlRootElement , so this method always return null. ClassInfoImpl



getSubstitutionHead
public Element<T, C> getSubstitutionHead()(Code)
No substitution.



getType
public T getType()(Code)



getTypeName
public QName getTypeName()(Code)



isElement
public boolean isElement()(Code)



isSimpleType
public boolean isSimpleType()(Code)



iterator
public Iterator<EnumConstantImpl<T, C, F, M>> iterator()(Code)



link
public void link()(Code)



ww_w__.__j_av___a__2s_.__c__om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.