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

All known Subclasses:   org.jibx.binding.def.BindingDefinition,  org.jibx.binding.def.NestedBase,
BindingBuilder
abstract public class BindingBuilder (Code)
Binding definition builder. This processes the binding definition file to generate the code generation structure.
author:
   Dennis M. Sosnoski
version:
   1.0

Inner Class :static class ContainerBase

Field Summary
final static  intACC_PACKAGE
    
final static  intACC_PRIVATE
    
final static  intACC_PROTECTED
    
final static  intACC_PUBLIC
    
final static  intLINK_FIELDS
    
final static  intLINK_METHODS
    
final static  intLINK_NONE
    
final static  intNAME_HYPHENS
    
final static  intNAME_MIXED
    


Method Summary
public static  BindingDefinitionunmarshalBindingDefinition(UnmarshallingContext ctx, String name, URL root)
     Unmarshal binding definition.
public static  voidunmarshalInclude(UnmarshallingContext ctx, BindingDefinition bdef, URL root, ArrayList nslist, HashSet paths)
     Unmarshal included binding.
public static  IMappingunmarshalMapping(UnmarshallingContext ctx, IContainer parent, ArrayList nss, boolean uord)
     Unmarshal mapping definition.
public static  IComponentunmarshalStructure(UnmarshallingContext ctx, IContainer contain, IContextObj cobj, boolean coll, boolean uord, boolean implic)
     Unmarshal subclass instance for structure definition.

Field Detail
ACC_PACKAGE
final static int ACC_PACKAGE(Code)



ACC_PRIVATE
final static int ACC_PRIVATE(Code)



ACC_PROTECTED
final static int ACC_PROTECTED(Code)



ACC_PUBLIC
final static int ACC_PUBLIC(Code)



LINK_FIELDS
final static int LINK_FIELDS(Code)



LINK_METHODS
final static int LINK_METHODS(Code)



LINK_NONE
final static int LINK_NONE(Code)



NAME_HYPHENS
final static int NAME_HYPHENS(Code)



NAME_MIXED
final static int NAME_MIXED(Code)





Method Detail
unmarshalBindingDefinition
public static BindingDefinition unmarshalBindingDefinition(UnmarshallingContext ctx, String name, URL root) throws JiBXException(Code)
Unmarshal binding definition. This handles the entire binding definition document.
Parameters:
  ctx - unmarshalling context information
Parameters:
  name - default name for binding
Parameters:
  root - base URL for binding, or null if unknown
throws:
  JiBXException - if error in unmarshalling



unmarshalInclude
public static void unmarshalInclude(UnmarshallingContext ctx, BindingDefinition bdef, URL root, ArrayList nslist, HashSet paths) throws JiBXException(Code)
Unmarshal included binding. This handles the actual include element along with the actual included binding. The current implementation allows for nested includes, but requires that all the included bindings use compatible settings for the attributes of the root element, and only allows mapping elements as children of the included bindings (no namespace or format elements).
Parameters:
  ctx - unmarshalling context information
Parameters:
  bdef - binding defintion at root of includes
Parameters:
  root - base URL for binding, or null if unknown
Parameters:
  nslist - list of namespaces defined
Parameters:
  paths - set of binding paths processed
throws:
  JiBXException - if error in unmarshalling



unmarshalMapping
public static IMapping unmarshalMapping(UnmarshallingContext ctx, IContainer parent, ArrayList nss, boolean uord) throws JiBXException(Code)
Unmarshal mapping definition. This handles all combinations of attributes on the start tag, generating the appropriate structure of nested components and other classes to represent the binding information within the current element. This must be called with the parse positioned at the start tag of the element to be unmarshalled.
Parameters:
  ctx - unmarshalling context information
Parameters:
  parent - containing binding definition structure
Parameters:
  nss - extra namespaces to be included in this mapping definition(may be null)
Parameters:
  uord - container is unordered structure flag mapping definition constructed from binding
throws:
  JiBXException - if error in unmarshalling



unmarshalStructure
public static IComponent unmarshalStructure(UnmarshallingContext ctx, IContainer contain, IContextObj cobj, boolean coll, boolean uord, boolean implic) throws JiBXException(Code)
Unmarshal subclass instance for structure definition. This handles all combinations of attributes on the start tag, generating the appropriate structure of nested components and other classes to represent the binding information within the current element. This must be called with the parse positioned at the start tag of the element to be unmarshalled. TODO: At least split this up, or organize a better way to build binding
Parameters:
  ctx - unmarshalling context information
Parameters:
  contain - containing binding definition structure
Parameters:
  cobj - context object information
Parameters:
  coll - collection structure flag
Parameters:
  uord - container is unordered structure flag
Parameters:
  implic - property value implicit flag root of component tree constructed from binding
throws:
  JiBXException - if error in unmarshalling



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.