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


java.lang.Object
   org.jibx.binding.def.PassThroughComponent
      org.jibx.binding.def.LinkableBase
         org.jibx.binding.def.MappingBase

All known Subclasses:   org.jibx.binding.def.MappingDirect,  org.jibx.binding.def.MappingDefinition,
MappingBase
abstract public class MappingBase extends LinkableBase implements IMapping(Code)
Base class for mapping definitions. This is used for both normal and custom mappings. It handles adding the appropriate marshalling and/or unmarshalling interfaces and methods to the classes.


Field Summary
final protected static  StringABSTRACTMARSHALLER_INTERFACE
    
final protected static  StringCHECKEXTENDS_METHODNAME
    
final protected static  StringCHECKEXTENDS_SIGNATURE
    
final protected static  StringGETINDEX_METHODNAME
    
final protected static  StringGETINDEX_SIGNATURE
    
final protected static  StringGETMARSHALLER_METHOD
    
final protected static  StringGETMARSHALLER_SIGNATURE
    
final protected static  StringGETUNMARSHALLER_METHOD
    
final protected static  StringGETUNMARSHALLER_SIGNATURE
    
final protected static  StringIMARSHALLABLE_INTERFACE
    
final protected static  StringIUNMARSHALLABLE_INTERFACE
    
final protected static  StringMARSHALLABLE_METHODNAME
    
final protected static  StringMARSHALLABLE_SIGNATURE
    
final protected static  StringMARSHALLERMARSHAL_METHOD
    
final protected static  StringMARSHALLERMARSHAL_SIGNATURE
    
final protected static  StringMARSHALLER_INTERFACE
    
final protected static  StringUNMARSHALLABLE_METHODNAME
    
final protected static  StringUNMARSHALLABLE_SIGNATURE
    
final protected static  StringUNMARSHALLERUNMARSHAL_METHOD
    
final protected static  StringUNMARSHALLERUNMARSHAL_SIGNATURE
    
final protected static  StringUNMARSHALLER_INTERFACE
    

Constructor Summary
public  MappingBase(IContainer contain, String type, String tname)
     Constructor.
public  MappingBase(IContainer contain, String type, String tname, IComponent wrap)
     Constructor with wrapped component supplied.

Method Summary
protected  voidaddIMarshallableMethod()
     Generate marshallable interface methods for this mapping.
protected  voidaddIUnmarshallableMethod()
     Generate unmarshallable interface method for this mapping.
abstract public  BoundClassgetBoundClass()
     Get the mapped class information.
public  intgetIndex()
    
public  StringgetTypeName()
    

Field Detail
ABSTRACTMARSHALLER_INTERFACE
final protected static String ABSTRACTMARSHALLER_INTERFACE(Code)



CHECKEXTENDS_METHODNAME
final protected static String CHECKEXTENDS_METHODNAME(Code)



CHECKEXTENDS_SIGNATURE
final protected static String CHECKEXTENDS_SIGNATURE(Code)



GETINDEX_METHODNAME
final protected static String GETINDEX_METHODNAME(Code)



GETINDEX_SIGNATURE
final protected static String GETINDEX_SIGNATURE(Code)



GETMARSHALLER_METHOD
final protected static String GETMARSHALLER_METHOD(Code)



GETMARSHALLER_SIGNATURE
final protected static String GETMARSHALLER_SIGNATURE(Code)



GETUNMARSHALLER_METHOD
final protected static String GETUNMARSHALLER_METHOD(Code)



GETUNMARSHALLER_SIGNATURE
final protected static String GETUNMARSHALLER_SIGNATURE(Code)



IMARSHALLABLE_INTERFACE
final protected static String IMARSHALLABLE_INTERFACE(Code)



IUNMARSHALLABLE_INTERFACE
final protected static String IUNMARSHALLABLE_INTERFACE(Code)



MARSHALLABLE_METHODNAME
final protected static String MARSHALLABLE_METHODNAME(Code)



MARSHALLABLE_SIGNATURE
final protected static String MARSHALLABLE_SIGNATURE(Code)



MARSHALLERMARSHAL_METHOD
final protected static String MARSHALLERMARSHAL_METHOD(Code)



MARSHALLERMARSHAL_SIGNATURE
final protected static String MARSHALLERMARSHAL_SIGNATURE(Code)



MARSHALLER_INTERFACE
final protected static String MARSHALLER_INTERFACE(Code)



UNMARSHALLABLE_METHODNAME
final protected static String UNMARSHALLABLE_METHODNAME(Code)



UNMARSHALLABLE_SIGNATURE
final protected static String UNMARSHALLABLE_SIGNATURE(Code)



UNMARSHALLERUNMARSHAL_METHOD
final protected static String UNMARSHALLERUNMARSHAL_METHOD(Code)



UNMARSHALLERUNMARSHAL_SIGNATURE
final protected static String UNMARSHALLERUNMARSHAL_SIGNATURE(Code)



UNMARSHALLER_INTERFACE
final protected static String UNMARSHALLER_INTERFACE(Code)




Constructor Detail
MappingBase
public MappingBase(IContainer contain, String type, String tname)(Code)
Constructor. This version requires the component to be set later, using the org.jibx.binding.def.PassThroughComponent.setWrappedComponent method.
Parameters:
  contain - containing binding definition structure
Parameters:
  type - class name handled by mapping
Parameters:
  tname - qualified type name, in text form



MappingBase
public MappingBase(IContainer contain, String type, String tname, IComponent wrap)(Code)
Constructor with wrapped component supplied.
Parameters:
  contain - containing binding definition structure
Parameters:
  type - class name handled by mapping
Parameters:
  tname - qualified type name, in text form
Parameters:
  wrap - wrapped binding component




Method Detail
addIMarshallableMethod
protected void addIMarshallableMethod() throws JiBXException(Code)
Generate marshallable interface methods for this mapping. This is not applicable to abstract mappings, since they cannot be marshalled as separate items.
throws:
  JiBXException - if error in generating code



addIUnmarshallableMethod
protected void addIUnmarshallableMethod() throws JiBXException(Code)
Generate unmarshallable interface method for this mapping. This is not applicable to abstract mappings, since they cannot be unmarshalled as separate items.
throws:
  JiBXException - if error in generating code



getBoundClass
abstract public BoundClass getBoundClass()(Code)
Get the mapped class information. This must be implemented in each subclass to return the type of the bound class. information for mapped class



getIndex
public int getIndex()(Code)



getTypeName
public String getTypeName()(Code)



Methods inherited from org.jibx.binding.def.LinkableBase
protected void handleRecursion()(Code)(Java Doc)
public void print(int depth)(Code)(Java Doc)
public void setLinkages() throws JiBXException(Code)(Java Doc)

Fields inherited from org.jibx.binding.def.PassThroughComponent
protected IComponent m_component(Code)(Java Doc)

Methods inherited from org.jibx.binding.def.PassThroughComponent
public void genAttrPresentTest(ContextMethodBuilder mb) throws JiBXException(Code)(Java Doc)
public void genAttributeMarshal(ContextMethodBuilder mb) throws JiBXException(Code)(Java Doc)
public void genAttributeUnmarshal(ContextMethodBuilder mb) throws JiBXException(Code)(Java Doc)
public void genContentMarshal(ContextMethodBuilder mb) throws JiBXException(Code)(Java Doc)
public void genContentPresentTest(ContextMethodBuilder mb) throws JiBXException(Code)(Java Doc)
public void genContentUnmarshal(ContextMethodBuilder mb) throws JiBXException(Code)(Java Doc)
public void genLoadId(ContextMethodBuilder mb) throws JiBXException(Code)(Java Doc)
public void genNewInstance(ContextMethodBuilder mb) throws JiBXException(Code)(Java Doc)
public String getType()(Code)(Java Doc)
public NameDefinition getWrapperName()(Code)(Java Doc)
public boolean hasAttribute()(Code)(Java Doc)
public boolean hasContent()(Code)(Java Doc)
public boolean hasId()(Code)(Java Doc)
public boolean isOptional()(Code)(Java Doc)
public void print(int depth)(Code)(Java Doc)
public void setLinkages() throws JiBXException(Code)(Java Doc)
protected void setWrappedComponent(IComponent comp)(Code)(Java Doc)

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.