Java Doc for TypeInfoSetImpl.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) 


java.lang.Object
   com.sun.xml.bind.v2.model.impl.TypeInfoSetImpl

TypeInfoSetImpl
class TypeInfoSetImpl implements TypeInfoSet<T, C, F, M>(Code)
Set of TypeInfo s.

This contains a fixed set of LeafInfo s and arbitrary set of ClassInfo s.

Members are annotated with JAXB annotations so that we can dump it easily.
author:
   Kohsuke Kawaguchi



Field Summary
final public  Navigator<T, C, F, M>nav
    
final public  AnnotationReader<T, C, F, M>reader
    

Constructor Summary
public  TypeInfoSetImpl(Navigator<T, C, F, M> nav, AnnotationReader<T, C, F, M> reader, Map<T, ? extends BuiltinLeafInfoImpl<T, C>> leaves)
    

Method Summary
public  voidadd(ClassInfoImpl<T, C, F, M> ci)
     Adds a new ClassInfo to the set.
public  voidadd(EnumLeafInfoImpl<T, C, F, M> li)
     Adds a new LeafInfo to the set.
public  voidadd(ArrayInfoImpl<T, C, F, M> ai)
    
final public  voidadd(ElementInfoImpl<T, C, F, M> ei, ModelBuilder<T, C, F, M> builder)
    
public  Map<? extends T, ? extends ArrayInfoImpl<T, C, F, M>>arrays()
    
public  Map<C, ? extends ClassInfoImpl<T, C, F, M>>beans()
     Returns all the ClassInfo s known to this set.
public  Map<T, ? extends BuiltinLeafInfo<T, C>>builtins()
    
protected  NonElement<T, C>createAnyType()
    
public  voiddump(Result out)
     Dumps this model into XML. For debug only. TODO: not sure if this actually works.
public  Map<C, ? extends EnumLeafInfoImpl<T, C, F, M>>enums()
    
public  Iterable<? extends ElementInfoImpl<T, C, F, M>>getAllElements()
    
public  NonElement<T, C>getAnyTypeInfo()
    
final public  XmlNsFormgetAttributeFormDefault(String nsUri)
    
public  NonElement<T, C>getClassInfo(C type)
     Returns a ClassInfo for the given bean.
final public  XmlNsFormgetElementFormDefault(String nsUri)
    
public  ElementInfoImpl<T, C, F, M>getElementInfo(C scope, QName name)
    
public  Map<QName, ? extends ElementInfoImpl<T, C, F, M>>getElementMappings(C scope)
    
public  Navigator<T, C, F, M>getNavigator()
    
public  Map<String, String>getSchemaLocations()
    
public  NonElement<T, C>getTypeInfo(T type)
     Returns a TypeInfo for the given type.
public  NonElement<T, C>getTypeInfo(Ref<T, C> ref)
     This method is used to add a root reference to a model.
public  Map<String, String>getXmlNs(String namespaceUri)
    

Field Detail
nav
final public Navigator<T, C, F, M> nav(Code)



reader
final public AnnotationReader<T, C, F, M> reader(Code)




Constructor Detail
TypeInfoSetImpl
public TypeInfoSetImpl(Navigator<T, C, F, M> nav, AnnotationReader<T, C, F, M> reader, Map<T, ? extends BuiltinLeafInfoImpl<T, C>> leaves)(Code)




Method Detail
add
public void add(ClassInfoImpl<T, C, F, M> ci)(Code)
Adds a new ClassInfo to the set.



add
public void add(EnumLeafInfoImpl<T, C, F, M> li)(Code)
Adds a new LeafInfo to the set.



add
public void add(ArrayInfoImpl<T, C, F, M> ai)(Code)



add
final public void add(ElementInfoImpl<T, C, F, M> ei, ModelBuilder<T, C, F, M> builder)(Code)

Parameters:
  builder - used for reporting errors.



arrays
public Map<? extends T, ? extends ArrayInfoImpl<T, C, F, M>> arrays()(Code)



beans
public Map<C, ? extends ClassInfoImpl<T, C, F, M>> beans()(Code)
Returns all the ClassInfo s known to this set.



builtins
public Map<T, ? extends BuiltinLeafInfo<T, C>> builtins()(Code)



createAnyType
protected NonElement<T, C> createAnyType()(Code)



dump
public void dump(Result out) throws JAXBException(Code)
Dumps this model into XML. For debug only. TODO: not sure if this actually works. We don't really know what are T,C.



enums
public Map<C, ? extends EnumLeafInfoImpl<T, C, F, M>> enums()(Code)



getAllElements
public Iterable<? extends ElementInfoImpl<T, C, F, M>> getAllElements()(Code)



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



getAttributeFormDefault
final public XmlNsForm getAttributeFormDefault(String nsUri)(Code)



getClassInfo
public NonElement<T, C> getClassInfo(C type)(Code)
Returns a ClassInfo for the given bean.

This method is almost like refinement of TypeInfoSetImpl.getTypeInfo(Object) except our C cannot derive from T. null if the specified type is not bound by JAXB or otherwiseunknown to this set.




getElementFormDefault
final public XmlNsForm getElementFormDefault(String nsUri)(Code)



getElementInfo
public ElementInfoImpl<T, C, F, M> getElementInfo(C scope, QName name)(Code)



getElementMappings
public Map<QName, ? extends ElementInfoImpl<T, C, F, M>> getElementMappings(C scope)(Code)



getNavigator
public Navigator<T, C, F, M> getNavigator()(Code)



getSchemaLocations
public Map<String, String> getSchemaLocations()(Code)



getTypeInfo
public NonElement<T, C> getTypeInfo(T type)(Code)
Returns a TypeInfo for the given type. null if the specified type cannot be bound by JAXB, ornot known to this set.



getTypeInfo
public NonElement<T, C> getTypeInfo(Ref<T, C> ref)(Code)
This method is used to add a root reference to a model.



getXmlNs
public Map<String, String> getXmlNs(String namespaceUri)(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)

w___w___w_.___j___a_v__a___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.