Java Doc for IBindingFactory.java in  » XML » jibx-1.1.5 » org » jibx » runtime » 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 » XML » jibx 1.1.5 » org.jibx.runtime 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jibx.runtime.IBindingFactory

IBindingFactory
public interface IBindingFactory (Code)
Binding factory interface definition. This interface is implemented by the binding factory class generated by each binding definition. All binding factory instances are guaranteed to be threadsafe and reusable.
author:
   Dennis M. Sosnoski
version:
   1.0


Field Summary
final public static  intCOMPATIBLE_VERSION_MASK
     Mask for portions of version number that effect compatibility.
final public static  StringCURRENT_VERSION_NAME
     Current distribution file name.
final public static  intCURRENT_VERSION_NUMBER
     Current binary version number.


Method Summary
public  IMarshallingContextcreateMarshallingContext()
     Create marshalling context instance.
public  IUnmarshallingContextcreateUnmarshallingContext()
     Create unmarshalling context instance.
public  StringgetCompilerDistribution()
     Get distribution name for binding compiler used.
public  intgetCompilerVersion()
     Get version number for binding compiler used.
public  String[]getElementNames()
     Get names of elements corresponding to mapped classes.
public  String[]getElementNamespaces()
     Get namespaces of elements corresponding to mapped classes.
public  String[]getMappedClasses()
     Get mapped class names (or type names, in the case of abstract mappings).
public  String[]getNamespaces()
     Get namespaces defined in mapping.
public  String[]getPrefixes()
     Get initial prefixes for namespaces defined in mapping.
public  intgetTypeIndex(String type)
     Get mapped class index from type name for abstract non-base mappings included in the binding.

Field Detail
COMPATIBLE_VERSION_MASK
final public static int COMPATIBLE_VERSION_MASK(Code)
Mask for portions of version number that effect compatibility.



CURRENT_VERSION_NAME
final public static String CURRENT_VERSION_NAME(Code)
Current distribution file name. This is filled in by the Ant build process to match the current distribution.



CURRENT_VERSION_NUMBER
final public static int CURRENT_VERSION_NUMBER(Code)
Current binary version number. This is a byte-ordered value, allowing for two levels of major and two levels of minor version.





Method Detail
createMarshallingContext
public IMarshallingContext createMarshallingContext() throws JiBXException(Code)
Create marshalling context instance. created marshalling context instance
throws:
  JiBXException - if error creating context
throws:
  UnsupportedOperationException - if marshalling not supportedby binding



createUnmarshallingContext
public IUnmarshallingContext createUnmarshallingContext() throws JiBXException(Code)
Create unmarshalling context instance. created unmarshalling context instance
throws:
  JiBXException - if error creating context
throws:
  UnsupportedOperationException - if unmarshalling not supportedby binding



getCompilerDistribution
public String getCompilerDistribution()(Code)
Get distribution name for binding compiler used. name of distribution for binding compiler



getCompilerVersion
public int getCompilerVersion()(Code)
Get version number for binding compiler used. version number of code used to compile binding



getElementNames
public String[] getElementNames()(Code)
Get names of elements corresponding to mapped classes. The returned array uses the same ordering as the result of the IBindingFactory.getMappedClasses call. Entries in the array are null if there is no element for a class. array of element names



getElementNamespaces
public String[] getElementNamespaces()(Code)
Get namespaces of elements corresponding to mapped classes. The returned array uses the same ordering as the result of the IBindingFactory.getMappedClasses call. Entries in the array are null if there is no element for a class or the element is in the default namespace. array of element namespaces



getMappedClasses
public String[] getMappedClasses()(Code)
Get mapped class names (or type names, in the case of abstract mappings). Returns array of fully-qualified class and/or type names, ordered by index number of the class. array of class names



getNamespaces
public String[] getNamespaces()(Code)
Get namespaces defined in mapping. The returned array is indexed by the namespace index number used when marshalling. array of namespaces defined in binding (null if notan output binding)



getPrefixes
public String[] getPrefixes()(Code)
Get initial prefixes for namespaces defined in mapping. The returned array is indexed by the namespace index number used when marshalling. Note that these are only the first prefixes associated with each namespace; it's possible to reuse the namespace in the binding with a different prefix. array of prefixes for namespaces defined in binding(null if not an output binding)



getTypeIndex
public int getTypeIndex(String type)(Code)
Get mapped class index from type name for abstract non-base mappings included in the binding. This is intended to allow identifying and using abstract mappings (basically type mappings) at runtime. The method is only returns a non-negative result if the "force-classes" option is used for the binding definition (since otherwise no marshaller/unmarshaller classes are created for abstract non-base mappings).
Parameters:
  type - fully-qualified class or type name mapping index for type, or -1 if type is not anabstract non-base mapping



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