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

ValueChild
public class ValueChild implements IComponent(Code)
Attribute or simple content value definition from binding. This organizes information for anything that can be converted to and from a simple String. Content values include both elements with only character data content and text, as character data content or CDATA sections.
author:
   Dennis M. Sosnoski
version:
   1.0


Field Summary
final static  intATTRIBUTE_STYLE
    
final static  intAUTO_IDENT
    
final static  intCDATA_STYLE
    
final static  intDEF_IDENT
    
final static  intDIRECT_IDENT
    
final static  intELEMENT_STYLE
    
final protected static  StringMARSHAL_ATTRIBUTE
    
final protected static  StringMARSHAL_CLOSESTART_EMPTY
    
final protected static  StringMARSHAL_CLOSESTART_EMPTY_SIGNATURE
    
final protected static  StringMARSHAL_ELEMENT
    
final protected static  StringMARSHAL_SIGNATURE
    
final protected static  StringMARSHAL_STARTTAG_ATTRIBUTES
    
final protected static  StringMARSHAL_STARTTAG_SIGNATURE
    
final static  intREF_IDENT
    
final static  intTEXT_STYLE
    
final protected static  StringUNMARSHAL_ATTRIBUTE_BOOLEAN_NAME
    
final protected static  StringUNMARSHAL_ATTRIBUTE_BOOLEAN_SIGNATURE
    

Constructor Summary
public  ValueChild(IContainer contain, IContextObj objc, NameDefinition name, PropertyDefinition prop, StringConversion conv, int style, int ident, String constant, boolean nillable)
     Constructor.

Method Summary
public  voidgenAttrPresentTest(ContextMethodBuilder mb)
    
public  voidgenAttributeMarshal(ContextMethodBuilder mb)
    
public  voidgenAttributeUnmarshal(ContextMethodBuilder mb)
    
public  voidgenContentMarshal(ContextMethodBuilder mb)
    
public  voidgenContentPresentTest(ContextMethodBuilder mb)
    
public  voidgenContentUnmarshal(ContextMethodBuilder mb)
    
public  voidgenIfPresentTest(UnmarshalBuilder mb)
     Generate test if present code.
public  voidgenLoadId(ContextMethodBuilder mub)
    
public  voidgenNewInstance(ContextMethodBuilder mb)
    
public  StringgetPropertyName()
     Get property name.
public  StringgetType()
    
public  NameDefinitiongetWrapperName()
    
public  booleanhasAttribute()
    
public  booleanhasContent()
    
public  booleanhasId()
    
public  booleanisImplicit()
     Check if implicit.
public  booleanisOptional()
    
public  voidprint(int depth)
    
public  voidsetLinkages()
    
public  voidswitchProperty()
     Switch property from "this" to "implicit".

Field Detail
ATTRIBUTE_STYLE
final static int ATTRIBUTE_STYLE(Code)



AUTO_IDENT
final static int AUTO_IDENT(Code)



CDATA_STYLE
final static int CDATA_STYLE(Code)



DEF_IDENT
final static int DEF_IDENT(Code)



DIRECT_IDENT
final static int DIRECT_IDENT(Code)



ELEMENT_STYLE
final static int ELEMENT_STYLE(Code)



MARSHAL_ATTRIBUTE
final protected static String MARSHAL_ATTRIBUTE(Code)



MARSHAL_CLOSESTART_EMPTY
final protected static String MARSHAL_CLOSESTART_EMPTY(Code)



MARSHAL_CLOSESTART_EMPTY_SIGNATURE
final protected static String MARSHAL_CLOSESTART_EMPTY_SIGNATURE(Code)



MARSHAL_ELEMENT
final protected static String MARSHAL_ELEMENT(Code)



MARSHAL_SIGNATURE
final protected static String MARSHAL_SIGNATURE(Code)



MARSHAL_STARTTAG_ATTRIBUTES
final protected static String MARSHAL_STARTTAG_ATTRIBUTES(Code)



MARSHAL_STARTTAG_SIGNATURE
final protected static String MARSHAL_STARTTAG_SIGNATURE(Code)



REF_IDENT
final static int REF_IDENT(Code)



TEXT_STYLE
final static int TEXT_STYLE(Code)



UNMARSHAL_ATTRIBUTE_BOOLEAN_NAME
final protected static String UNMARSHAL_ATTRIBUTE_BOOLEAN_NAME(Code)



UNMARSHAL_ATTRIBUTE_BOOLEAN_SIGNATURE
final protected static String UNMARSHAL_ATTRIBUTE_BOOLEAN_SIGNATURE(Code)




Constructor Detail
ValueChild
public ValueChild(IContainer contain, IContextObj objc, NameDefinition name, PropertyDefinition prop, StringConversion conv, int style, int ident, String constant, boolean nillable)(Code)
Constructor. Saves the context information for later use.
Parameters:
  contain - containing binding definition structure
Parameters:
  objc - containing object context
Parameters:
  name - element or attribute name information (may benull)
Parameters:
  prop - property reference information
Parameters:
  conv - string conversion handler
Parameters:
  style - value style code
Parameters:
  ident - identifier type code
Parameters:
  constant - value for constant
Parameters:
  nillable - nillable element flag




Method Detail
genAttrPresentTest
public void genAttrPresentTest(ContextMethodBuilder mb) throws JiBXException(Code)



genAttributeMarshal
public void genAttributeMarshal(ContextMethodBuilder mb) throws JiBXException(Code)



genAttributeUnmarshal
public void genAttributeUnmarshal(ContextMethodBuilder mb) throws JiBXException(Code)



genContentMarshal
public void genContentMarshal(ContextMethodBuilder mb) throws JiBXException(Code)



genContentPresentTest
public void genContentPresentTest(ContextMethodBuilder mb) throws JiBXException(Code)



genContentUnmarshal
public void genContentUnmarshal(ContextMethodBuilder mb) throws JiBXException(Code)



genIfPresentTest
public void genIfPresentTest(UnmarshalBuilder mb) throws JiBXException(Code)
Generate test if present code. This generates code that tests if the child is present, leaving the result of the test (zero if missing, nonzero if present) on the stack.
Parameters:
  mb - unmarshal method builder
throws:
  JiBXException - if configuration error



genLoadId
public void genLoadId(ContextMethodBuilder mub) throws JiBXException(Code)



genNewInstance
public void genNewInstance(ContextMethodBuilder mb)(Code)



getPropertyName
public String getPropertyName()(Code)
Get property name. If the child has an associated property this returns the name of that property. name for child property



getType
public String getType()(Code)



getWrapperName
public NameDefinition getWrapperName()(Code)



hasAttribute
public boolean hasAttribute()(Code)



hasContent
public boolean hasContent()(Code)



hasId
public boolean hasId()(Code)



isImplicit
public boolean isImplicit()(Code)
Check if implicit. true if implicit, false if not



isOptional
public boolean isOptional()(Code)



print
public void print(int depth)(Code)



setLinkages
public void setLinkages() throws JiBXException(Code)



switchProperty
public void switchProperty()(Code)
Switch property from "this" to "implicit".



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.