Java Doc for MappingDefinition.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
            org.jibx.binding.def.MappingDefinition

MappingDefinition
public class MappingDefinition extends MappingBase (Code)
Normal mapping with defined binding. This is used for a mapping definition which includes detailed binding information (rather than marshaller and unmarshaller classes which handle the binding directly).
author:
   Dennis M. Sosnoski


Field Summary
final static  String[]BOTH_INTERFACES
    
final static  String[]MARSHALLER_INTERFACES
    
final static  String[]UNMARSHALLER_INTERFACES
    

Constructor Summary
public  MappingDefinition(IContainer contain, DefinitionContext defc, String type, NameDefinition name, String tname, boolean abs, String base, ObjectBinding bind, boolean nillable)
     Constructor.

Method Summary
public  voidaddExtension(MappingDefinition mdef)
    
public  voidaddNamespace(NamespaceDefinition ns)
    
public  IComponentbuildRef(IContainer parent, IContextObj objc, String type, PropertyDefinition prop)
    
 voidgenLoadNamespaces(MethodBuilder mb)
     Generate code for loading namespace index and URI arrays.
public  voidgenerateCode(boolean force)
    
public  BoundClassgetBoundClass()
     Get the mapped class information.
public  StringgetBoundType()
    
public  IComponentgetImplComponent()
    
public  ClassFilegetMarshaller()
    
public  NameDefinitiongetName()
    
public  ArrayListgetNamespaces()
    
public  StringgetReferenceType()
    
public  ClassFilegetUnmarshaller()
    
public  NameDefinitiongetWrapperName()
    
 booleanhasNamespace()
     Check if one or more namespaces are defined for element.
public  booleanisAbstract()
    
public  booleanisBase()
    
public  voidlinkMappings()
     Links extension mappings to their base mappings.
public  voidprint(int depth)
    
public  voidsetLinkages()
    

Field Detail
BOTH_INTERFACES
final static String[] BOTH_INTERFACES(Code)



MARSHALLER_INTERFACES
final static String[] MARSHALLER_INTERFACES(Code)



UNMARSHALLER_INTERFACES
final static String[] UNMARSHALLER_INTERFACES(Code)




Constructor Detail
MappingDefinition
public MappingDefinition(IContainer contain, DefinitionContext defc, String type, NameDefinition name, String tname, boolean abs, String base, ObjectBinding bind, boolean nillable) throws JiBXException(Code)
Constructor. This initializes the new definition context.
Parameters:
  contain - containing binding definition structure
Parameters:
  defc - definition context for this mapping
Parameters:
  type - bound class name
Parameters:
  name - mapped element name information (null if definedby marshaller and unmarshaller)
Parameters:
  tname - qualified type name for abstract mapping (nullif none)
Parameters:
  abs - abstract mapping flag
Parameters:
  base - abstract mapping extended by this one
Parameters:
  bind - binding definition component
Parameters:
  nillable - flag for nillable element
throws:
  JiBXException - if class definition not found




Method Detail
addExtension
public void addExtension(MappingDefinition mdef) throws JiBXException(Code)



addNamespace
public void addNamespace(NamespaceDefinition ns) throws JiBXException(Code)



buildRef
public IComponent buildRef(IContainer parent, IContextObj objc, String type, PropertyDefinition prop) throws JiBXException(Code)



genLoadNamespaces
void genLoadNamespaces(MethodBuilder mb)(Code)
Generate code for loading namespace index and URI arrays.
Parameters:
  mb - method builder for generated code



generateCode
public void generateCode(boolean force) throws JiBXException(Code)



getBoundClass
public BoundClass getBoundClass()(Code)
Get the mapped class information. This implements the method used by the base class. information for mapped class



getBoundType
public String getBoundType()(Code)



getImplComponent
public IComponent getImplComponent()(Code)



getMarshaller
public ClassFile getMarshaller()(Code)



getName
public NameDefinition getName()(Code)



getNamespaces
public ArrayList getNamespaces()(Code)



getReferenceType
public String getReferenceType()(Code)



getUnmarshaller
public ClassFile getUnmarshaller()(Code)



getWrapperName
public NameDefinition getWrapperName()(Code)



hasNamespace
boolean hasNamespace()(Code)
Check if one or more namespaces are defined for element. true if namespaces are defined, falseif not



isAbstract
public boolean isAbstract()(Code)



isBase
public boolean isBase()(Code)



linkMappings
public void linkMappings() throws JiBXException(Code)
Links extension mappings to their base mappings. This must be done before the more general linking step in order to determine which abstract mappings are standalone and which are extended by other mappings
throws:
  JiBXException - if error in linking



print
public void print(int depth)(Code)



setLinkages
public void setLinkages() throws JiBXException(Code)



Fields inherited from org.jibx.binding.def.MappingBase
final protected static String ABSTRACTMARSHALLER_INTERFACE(Code)(Java Doc)
final protected static String CHECKEXTENDS_METHODNAME(Code)(Java Doc)
final protected static String CHECKEXTENDS_SIGNATURE(Code)(Java Doc)
final protected static String GETINDEX_METHODNAME(Code)(Java Doc)
final protected static String GETINDEX_SIGNATURE(Code)(Java Doc)
final protected static String GETMARSHALLER_METHOD(Code)(Java Doc)
final protected static String GETMARSHALLER_SIGNATURE(Code)(Java Doc)
final protected static String GETUNMARSHALLER_METHOD(Code)(Java Doc)
final protected static String GETUNMARSHALLER_SIGNATURE(Code)(Java Doc)
final protected static String IMARSHALLABLE_INTERFACE(Code)(Java Doc)
final protected static String IUNMARSHALLABLE_INTERFACE(Code)(Java Doc)
final protected static String MARSHALLABLE_METHODNAME(Code)(Java Doc)
final protected static String MARSHALLABLE_SIGNATURE(Code)(Java Doc)
final protected static String MARSHALLERMARSHAL_METHOD(Code)(Java Doc)
final protected static String MARSHALLERMARSHAL_SIGNATURE(Code)(Java Doc)
final protected static String MARSHALLER_INTERFACE(Code)(Java Doc)
final protected static String UNMARSHALLABLE_METHODNAME(Code)(Java Doc)
final protected static String UNMARSHALLABLE_SIGNATURE(Code)(Java Doc)
final protected static String UNMARSHALLERUNMARSHAL_METHOD(Code)(Java Doc)
final protected static String UNMARSHALLERUNMARSHAL_SIGNATURE(Code)(Java Doc)
final protected static String UNMARSHALLER_INTERFACE(Code)(Java Doc)

Methods inherited from org.jibx.binding.def.MappingBase
protected void addIMarshallableMethod() throws JiBXException(Code)(Java Doc)
protected void addIUnmarshallableMethod() throws JiBXException(Code)(Java Doc)
abstract public BoundClass getBoundClass()(Code)(Java Doc)
public int getIndex()(Code)(Java Doc)
public String getTypeName()(Code)(Java Doc)

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.