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


com.sun.xml.bind.v2.model.core.TypeInfoSet

TypeInfoSet
public interface TypeInfoSet (Code)
Root of models. Set of TypeInfo s.
author:
   Kohsuke Kawaguchi




Method Summary
 Map<? extends T, ? extends ArrayInfo<T, C>>arrays()
     Returns all the ArrayInfo s known to this set.
 Map<C, ? extends ClassInfo<T, C>>beans()
     Returns all the ClassInfo s known to this set.
 Map<T, ? extends BuiltinLeafInfo<T, C>>builtins()
     Returns all the BuiltinLeafInfo s known to this set.
public  voiddump(Result out)
     Dumps this model into XML. For debug only. TODO: not sure if this actually works.
 Map<C, ? extends EnumLeafInfo<T, C>>enums()
     Returns all the EnumLeafInfo s known to this set.
 Iterable<? extends ElementInfo<T, C>>getAllElements()
     Returns all the ElementInfo known to this set.
 NonElement<T, C>getAnyTypeInfo()
     Gets the TypeInfo for the any type.
 XmlNsFormgetAttributeFormDefault(String nsUri)
     Gets the reasonable XmlNsForm for the given namespace URI.

The spec doesn't define very precisely what the XmlNsForm value for the given namespace would be, so this method is implemented in rather ad-hoc way.

 NonElement<T, C>getClassInfo(C type)
     Returns a ClassInfo , ArrayInfo , or LeafInfo for the given bean.
 XmlNsFormgetElementFormDefault(String nsUri)
     Gets the reasonable XmlNsForm for the given namespace URI.

The spec doesn't define very precisely what the XmlNsForm value for the given namespace would be, so this method is implemented in rather ad-hoc way.

 ElementInfo<T, C>getElementInfo(C scope, QName name)
     Returns a ElementInfo for the given element.
 Map<QName, ? extends ElementInfo<T, C>>getElementMappings(C scope)
     Returns all ElementInfo s in the given scope.
 Navigator<T, C, F, M>getNavigator()
    Navigator for this model.
 Map<String, String>getSchemaLocations()
     Gets XmlSchema.location found in this context.
 NonElement<T, C>getTypeInfo(T type)
     Returns a TypeInfo for the given type.
 NonElement<T, C>getTypeInfo(Ref<T, C> ref)
     Returns a type information for the given reference.
 Map<String, String>getXmlNs(String namespaceUri)
     Gets all XmlSchema.xmlns found in this context for the given namespace URI.



Method Detail
arrays
Map<? extends T, ? extends ArrayInfo<T, C>> arrays()(Code)
Returns all the ArrayInfo s known to this set.



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



builtins
Map<T, ? extends BuiltinLeafInfo<T, C>> builtins()(Code)
Returns all the BuiltinLeafInfo s known to this set.



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
Map<C, ? extends EnumLeafInfo<T, C>> enums()(Code)
Returns all the EnumLeafInfo s known to this set.



getAllElements
Iterable<? extends ElementInfo<T, C>> getAllElements()(Code)
Returns all the ElementInfo known to this set.



getAnyTypeInfo
NonElement<T, C> getAnyTypeInfo()(Code)
Gets the TypeInfo for the any type.



getAttributeFormDefault
XmlNsForm getAttributeFormDefault(String nsUri)(Code)
Gets the reasonable XmlNsForm for the given namespace URI.

The spec doesn't define very precisely what the XmlNsForm value for the given namespace would be, so this method is implemented in rather ad-hoc way. It should work as what most people expect for simple cases. never null.




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

This method is almost like refinement of TypeInfoSet.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
XmlNsForm getElementFormDefault(String nsUri)(Code)
Gets the reasonable XmlNsForm for the given namespace URI.

The spec doesn't define very precisely what the XmlNsForm value for the given namespace would be, so this method is implemented in rather ad-hoc way. It should work as what most people expect for simple cases. never null.




getElementInfo
ElementInfo<T, C> getElementInfo(C scope, QName name)(Code)
Returns a ElementInfo for the given element.
Parameters:
  scope - if null, return the info about a global element.Otherwise return a local element in the given scope if available,then look for a global element next.



getElementMappings
Map<QName, ? extends ElementInfo<T, C>> getElementMappings(C scope)(Code)
Returns all ElementInfo s in the given scope.
Parameters:
  scope - if non-null, this method only returns the local element mapping.



getNavigator
Navigator<T, C, F, M> getNavigator()(Code)
Navigator for this model.



getSchemaLocations
Map<String, String> getSchemaLocations()(Code)
Gets XmlSchema.location found in this context.

This operation is expected to be only used in schema generator, so it can be slow. A map from namespace URI to the value of the location.If the entry is missing, that means a schema should be generated for that namespace.If the value is "", that means the schema location is implied(<xs:schema namespace="..."/> w/o schemaLocation.)




getTypeInfo
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
NonElement<T, C> getTypeInfo(Ref<T, C> ref)(Code)
Returns a type information for the given reference.



getXmlNs
Map<String, String> getXmlNs(String namespaceUri)(Code)
Gets all XmlSchema.xmlns found in this context for the given namespace URI.

This operation is expected to be only used in schema generator, so it can be slow. A map from prefixes to namespace URIs, which should be declared when generating a schema.Could be empty but never null.




w___w_w__._ja__va2__s__._c___om_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.