Java Doc for BeanWriterMetaInfoHolder.java in  » Web-Services-AXIS2 » adb » org » apache » axis2 » schema » 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 » Web Services AXIS2 » adb » org.apache.axis2.schema 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.axis2.schema.BeanWriterMetaInfoHolder

BeanWriterMetaInfoHolder
public class BeanWriterMetaInfoHolder (Code)
This class is used as a holder to pass on the meta information to the bean writer. This meta information is used by the writer to write the databinding conversion code. Note - Metainfholders are not meant to be reused!!!. They are per-class basis and are strictly not thread safe!!!!


Field Summary
protected  booleananonymous
    
protected  booleanchoice
    
protected  MapelementToJavaClassMap
    
protected  MapelementToSchemaQNameMap
    
protected  ArrayListenumFacet
    
protected  booleanextension
    
protected  booleanhasParticleType
    
protected  booleanisList
    
protected  booleanisParticleClass
    
protected  booleanisUnion
    
protected  StringitemTypeClassName
    
protected  QNameitemTypeQName
    
protected  longlengthFacet
    
protected  StringmaxExclusiveFacet
    
protected  StringmaxInclusiveFacet
    
protected  longmaxLengthFacet
    
protected  MapmemberTypes
    
protected  StringminExclusiveFacet
    
protected  StringminInclusiveFacet
    
protected  longminLengthFacet
    
protected  ListnillableQNameList
    
protected  booleanordered
    
protected  StringownClassName
    
protected  QNameownQname
    
protected  BeanWriterMetaInfoHolderparent
    
protected  StringpatternFacet
    
protected  MapqNameMaxOccursCountMap
    
protected  MapqNameMinOccursCountMap
    
protected  MapqNameOrderMap
    
protected  booleanrestriction
    
protected  booleansimple
    
protected  MapspecialTypeFlagMap
    


Method Summary
public  voidaddEnumFacet(String enumFacet)
     Adds the enumeration.
public  voidaddMaxOccurs(QName qName, long maxOccurs)
     Adds the maxOccurs associated with a QName.
public  voidaddMemberType(QName qname, String className)
    
public  voidaddMinOccurs(QName qName, long minOccurs)
     Adds the minOccurs associated with a QName.
public  voidaddtStatus(QName type, int mask)
     Adds a another status to a particular Qname.
public  voidclearTables()
     Clears the whole set of tables.
public  booleangetAnyAttributeStatusForQName(QName qName)
     Gets whether a given QName has the any attribute status.
public  booleangetAnyStatusForQName(QName qName)
    
public  booleangetArrayStatusForQName(QName qName)
     Gets whether a given QName refers to an array.
public  booleangetAttributeStatusForQName(QName qName)
    
public  booleangetBinaryStatusForQName(QName qName)
     Gets whether a given QName refers to binary.
public  StringgetClassNameForQName(QName eltQName)
     Gets the class name for the QName.
public  booleangetDefaultStatusForQName(QName qName)
    
public  IteratorgetElementQNameIterator()
    
public  ListgetEnumFacet()
     Gets the enumeration.
public  StringgetExtensionClassName()
     Sets the extensions base class name.
public  booleangetInnerChoiceStatusForQName(QName qName)
    
public  StringgetItemTypeClassName()
    
public  QNamegetItemTypeQName()
    
public  longgetLengthFacet()
     Gets the length facet.
public  StringgetMaxExclusiveFacet()
     Gets the maxExclusive.
public  StringgetMaxInclusiveFacet()
     Gets the maxInclusive.
public  longgetMaxLengthFacet()
     Gets the maxLength.
public  longgetMaxOccurs(QName qName)
     Gets the maxOccurs associated with a QName.
public  MapgetMemberTypes()
    
public  StringgetMinExclusiveFacet()
     Gets the minExclusive.
public  StringgetMinInclusiveFacet()
     Gets the minInclusive.
public  longgetMinLengthFacet()
     Gets the minLength.
public  longgetMinOccurs(QName qName)
     Adds the minOccurs associated with a QName.
public  booleangetOptionalAttributeStatusForQName(QName qName)
     Gets whether a given QName has the optional attribute status.
public  intgetOrderStartPoint()
    
public  QName[]getOrderedQNameArray()
    
public  StringgetOwnClassName()
    
public  QNamegetOwnQname()
    
public  BeanWriterMetaInfoHoldergetParent()
    
public  booleangetParticleTypeStatusForQName(QName qName)
    
public  StringgetPatternFacet()
     Gets the pattern.
public  QName[]getQNameArray()
     Gets the QName array - may not be ordered.
public  StringgetRestrictionClassName()
    
public  QNamegetSchemaQNameForQName(QName eltQName)
     Gets the schema name for the given QName.
public  booleangetSimpleStatusForQName(QName qName)
     Gets whether a given QName refers to Simple Type.
public  booleanisAnonymous()
     Gets the anonymous status.
public  booleanisChoice()
    
public  booleanisExtension()
     Gets the extension status.
public  booleanisExtensionBaseType(QName extensionBaseType)
     Checks if it is a extension base type.
public  booleanisHasParticleType()
    
public  booleanisList()
    
public  booleanisNillable(QName eltQName)
    
public  booleanisOrdered()
     Gets the ordered status.
public  booleanisParticleClass()
    
public  booleanisRestriction()
     Gets the restriction status.
public  booleanisRestrictionBaseType(QName restrictionBaseType)
     Checks if it is a restriction base type.
public  booleanisSimple()
    
public  booleanisUnion()
    
public  voidregisterMapping(QName qName, QName schemaName, String javaClassName)
     Registers a mapping.
public  voidregisterMapping(QName qName, QName schemaName, String javaClassName, int type)
     Registers a mapping.
public  voidregisterNillableQName(QName eltQName)
    
public  voidregisterQNameIndex(QName qName, int index)
     Registers a QName for the order.
public  voidsetAnonymous(boolean anonymous)
     Sets the anonymous flag.
public  voidsetAsParent(BeanWriterMetaInfoHolder metaInfo)
    
public  voidsetChoice(boolean choice)
    
public  voidsetEnumFacet(ArrayList enumFacet)
     Sets the enumeration.
public  voidsetExtension(boolean extension)
     Sets the extension status.
public  voidsetExtensionBaseType(QName extensionBaseType)
     Sets the extension basetype.
public  voidsetExtensionClassName(String extensionClassName)
     Sets the extensions base class name.
public  voidsetHasParticleType(boolean hasParticleType)
    
public  voidsetItemTypeClassName(String itemTypeClassName)
    
public  voidsetItemTypeQName(QName itemTypeQName)
    
public  voidsetLengthFacet(long lengthFacet)
     Sets the length facet.
public  voidsetList(boolean list)
    
public  voidsetMaxExclusiveFacet(String maxExclusiveFacet)
     Sets the maxExclusive.
public  voidsetMaxInclusiveFacet(String maxInclusiveFacet)
     Sets the maxInclusive.
public  voidsetMaxLengthFacet(long maxLengthFacet)
     Sets the maxLength.
public  voidsetMemberTypes(Map memberTypes)
    
public  voidsetMinExclusiveFacet(String minExclusiveFacet)
     Sets the minExclusive.
public  voidsetMinInclusiveFacet(String minInclusiveFacet)
     Sets the minInclusive.
public  voidsetMinLengthFacet(long minLengthFacet)
     Sets the minLength.
public  voidsetOrdered(boolean ordered)
     Sets the ordered flag.
public  voidsetOwnClassName(String ownClassName)
    
public  voidsetOwnQname(QName ownQname)
    
public  voidsetParticleClass(boolean particleClass)
    
public  voidsetPatternFacet(String patternFacet)
     Sets the pattern.
public  voidsetRestriction(boolean restriction)
     Sets the restriction status.
public  voidsetRestrictionBaseType(QName restrictionBaseType)
     Sets the restriction basetype.
public  voidsetRestrictionClassName(String restrictionClassName)
     Sets the restriction base class name.
public  voidsetSimple(boolean simple)
    
public  voidsetUnion(boolean union)
    

Field Detail
anonymous
protected boolean anonymous(Code)



choice
protected boolean choice(Code)



elementToJavaClassMap
protected Map elementToJavaClassMap(Code)



elementToSchemaQNameMap
protected Map elementToSchemaQNameMap(Code)



enumFacet
protected ArrayList enumFacet(Code)



extension
protected boolean extension(Code)



hasParticleType
protected boolean hasParticleType(Code)



isList
protected boolean isList(Code)



isParticleClass
protected boolean isParticleClass(Code)



isUnion
protected boolean isUnion(Code)



itemTypeClassName
protected String itemTypeClassName(Code)



itemTypeQName
protected QName itemTypeQName(Code)



lengthFacet
protected long lengthFacet(Code)



maxExclusiveFacet
protected String maxExclusiveFacet(Code)



maxInclusiveFacet
protected String maxInclusiveFacet(Code)



maxLengthFacet
protected long maxLengthFacet(Code)



memberTypes
protected Map memberTypes(Code)



minExclusiveFacet
protected String minExclusiveFacet(Code)



minInclusiveFacet
protected String minInclusiveFacet(Code)



minLengthFacet
protected long minLengthFacet(Code)



nillableQNameList
protected List nillableQNameList(Code)



ordered
protected boolean ordered(Code)



ownClassName
protected String ownClassName(Code)



ownQname
protected QName ownQname(Code)



parent
protected BeanWriterMetaInfoHolder parent(Code)



patternFacet
protected String patternFacet(Code)



qNameMaxOccursCountMap
protected Map qNameMaxOccursCountMap(Code)



qNameMinOccursCountMap
protected Map qNameMinOccursCountMap(Code)



qNameOrderMap
protected Map qNameOrderMap(Code)



restriction
protected boolean restriction(Code)



simple
protected boolean simple(Code)



specialTypeFlagMap
protected Map specialTypeFlagMap(Code)





Method Detail
addEnumFacet
public void addEnumFacet(String enumFacet)(Code)
Adds the enumeration.
Parameters:
  enumFacet -



addMaxOccurs
public void addMaxOccurs(QName qName, long maxOccurs)(Code)
Adds the maxOccurs associated with a QName.
Parameters:
  qName -
Parameters:
  maxOccurs -



addMemberType
public void addMemberType(QName qname, String className)(Code)



addMinOccurs
public void addMinOccurs(QName qName, long minOccurs)(Code)
Adds the minOccurs associated with a QName.
Parameters:
  qName -
Parameters:
  minOccurs -



addtStatus
public void addtStatus(QName type, int mask)(Code)
Adds a another status to a particular Qname. A Qname can be associated with multiple status flags and they all will be preserved
Parameters:
  type -
Parameters:
  mask -



clearTables
public void clearTables()(Code)
Clears the whole set of tables.



getAnyAttributeStatusForQName
public boolean getAnyAttributeStatusForQName(QName qName)(Code)
Gets whether a given QName has the any attribute status.
Parameters:
  qName - Returns boolean.



getAnyStatusForQName
public boolean getAnyStatusForQName(QName qName)(Code)
Gets whether a given QName represents a anyType
Parameters:
  qName - Returns boolean.



getArrayStatusForQName
public boolean getArrayStatusForQName(QName qName)(Code)
Gets whether a given QName refers to an array.
Parameters:
  qName - Returns boolean.



getAttributeStatusForQName
public boolean getAttributeStatusForQName(QName qName)(Code)
Gets whether a given QName is an attribute
Parameters:
  qName - Returns boolean.



getBinaryStatusForQName
public boolean getBinaryStatusForQName(QName qName)(Code)
Gets whether a given QName refers to binary.
Parameters:
  qName - Returns boolean.



getClassNameForQName
public String getClassNameForQName(QName eltQName)(Code)
Gets the class name for the QName.
Parameters:
  eltQName - Returns String.



getDefaultStatusForQName
public boolean getDefaultStatusForQName(QName qName)(Code)
checks the element corresponds to the qName type is xsd:anyType
Parameters:
  qName - is element corresponds to qName has xsd:anyType



getElementQNameIterator
public Iterator getElementQNameIterator()(Code)
Returns Iterator.



getEnumFacet
public List getEnumFacet()(Code)
Gets the enumeration. Returns enumeration.



getExtensionClassName
public String getExtensionClassName()(Code)
Sets the extensions base class name. Valid only when the isExtension returns true. Returns String.



getInnerChoiceStatusForQName
public boolean getInnerChoiceStatusForQName(QName qName)(Code)

Parameters:
  qName - is this a inner choice



getItemTypeClassName
public String getItemTypeClassName()(Code)



getItemTypeQName
public QName getItemTypeQName()(Code)



getLengthFacet
public long getLengthFacet()(Code)
Gets the length facet. Returns length facet.



getMaxExclusiveFacet
public String getMaxExclusiveFacet()(Code)
Gets the maxExclusive. Returns the maxExclusive.



getMaxInclusiveFacet
public String getMaxInclusiveFacet()(Code)
Gets the maxInclusive. Returns the maxInclusive.



getMaxLengthFacet
public long getMaxLengthFacet()(Code)
Gets the maxLength. Returns maxLength.



getMaxOccurs
public long getMaxOccurs(QName qName)(Code)
Gets the maxOccurs associated with a QName.
Parameters:
  qName - Returns long.



getMemberTypes
public Map getMemberTypes()(Code)
Returns memeber type in a union



getMinExclusiveFacet
public String getMinExclusiveFacet()(Code)
Gets the minExclusive. Returns the minExclusive.



getMinInclusiveFacet
public String getMinInclusiveFacet()(Code)
Gets the minInclusive. Returns the minInclusive.



getMinLengthFacet
public long getMinLengthFacet()(Code)
Gets the minLength. Returns minLength.



getMinOccurs
public long getMinOccurs(QName qName)(Code)
Adds the minOccurs associated with a QName.
Parameters:
  qName - Returns long.



getOptionalAttributeStatusForQName
public boolean getOptionalAttributeStatusForQName(QName qName)(Code)
Gets whether a given QName has the optional attribute status.
Parameters:
  qName - QName of attribute Returns true if attribute has optional status



getOrderStartPoint
public int getOrderStartPoint()(Code)
Finds the starting count for the addition of new items to the order the starting number for the sequence



getOrderedQNameArray
public QName[] getOrderedQNameArray()(Code)
Gets the ordered QName array - useful in sequences where the order needs to be preserved Note - #registerQNameIndex needs to be called if this is to work properly! Returns QName[].



getOwnClassName
public String getOwnClassName()(Code)



getOwnQname
public QName getOwnQname()(Code)



getParent
public BeanWriterMetaInfoHolder getParent()(Code)
Gets the parent



getParticleTypeStatusForQName
public boolean getParticleTypeStatusForQName(QName qName)(Code)

Parameters:
  qName - whether the attribute is a partical class or not



getPatternFacet
public String getPatternFacet()(Code)
Gets the pattern. Returns pattern.



getQNameArray
public QName[] getQNameArray()(Code)
Gets the QName array - may not be ordered. Returns QName[].



getRestrictionClassName
public String getRestrictionClassName()(Code)



getSchemaQNameForQName
public QName getSchemaQNameForQName(QName eltQName)(Code)
Gets the schema name for the given QName.
Parameters:
  eltQName - Returns QName.



getSimpleStatusForQName
public boolean getSimpleStatusForQName(QName qName)(Code)
Gets whether a given QName refers to Simple Type.
Parameters:
  qName - Returns boolean.



isAnonymous
public boolean isAnonymous()(Code)
Gets the anonymous status. Returns boolean.



isChoice
public boolean isChoice()(Code)



isExtension
public boolean isExtension()(Code)
Gets the extension status. Returns boolean.



isExtensionBaseType
public boolean isExtensionBaseType(QName extensionBaseType)(Code)
Checks if it is a extension base type.
Parameters:
  extensionBaseType -



isHasParticleType
public boolean isHasParticleType()(Code)



isList
public boolean isList()(Code)



isNillable
public boolean isNillable(QName eltQName)(Code)
Returns whether a QName is nillable or not
Parameters:
  eltQName -



isOrdered
public boolean isOrdered()(Code)
Gets the ordered status. Returns boolean.



isParticleClass
public boolean isParticleClass()(Code)



isRestriction
public boolean isRestriction()(Code)
Gets the restriction status. Returns boolean.



isRestrictionBaseType
public boolean isRestrictionBaseType(QName restrictionBaseType)(Code)
Checks if it is a restriction base type.
Parameters:
  restrictionBaseType -



isSimple
public boolean isSimple()(Code)



isUnion
public boolean isUnion()(Code)
Returns is union



registerMapping
public void registerMapping(QName qName, QName schemaName, String javaClassName)(Code)
Registers a mapping.
Parameters:
  qName -
Parameters:
  schemaName -
Parameters:
  javaClassName -



registerMapping
public void registerMapping(QName qName, QName schemaName, String javaClassName, int type)(Code)
Registers a mapping.
Parameters:
  qName -
Parameters:
  schemaName -
Parameters:
  javaClassName -
Parameters:
  type -



registerNillableQName
public void registerNillableQName(QName eltQName)(Code)
Registers a Qname as nillable The qName better be of an element
Parameters:
  qName -
Parameters:
  schemaName -
Parameters:
  javaClassName -



registerQNameIndex
public void registerQNameIndex(QName qName, int index)(Code)
Registers a QName for the order.
Parameters:
  qName -
Parameters:
  index -



setAnonymous
public void setAnonymous(boolean anonymous)(Code)
Sets the anonymous flag.
Parameters:
  anonymous -



setAsParent
public void setAsParent(BeanWriterMetaInfoHolder metaInfo)(Code)
Creates link to th
Parameters:
  metaInfo -



setChoice
public void setChoice(boolean choice)(Code)



setEnumFacet
public void setEnumFacet(ArrayList enumFacet)(Code)
Sets the enumeration.
Parameters:
  enumFacet -



setExtension
public void setExtension(boolean extension)(Code)
Sets the extension status.
Parameters:
  extension -



setExtensionBaseType
public void setExtensionBaseType(QName extensionBaseType)(Code)
Sets the extension basetype.
Parameters:
  extensionBaseType -



setExtensionClassName
public void setExtensionClassName(String extensionClassName)(Code)
Sets the extensions base class name. Valid only when the isExtension returns true.
Parameters:
  extensionClassName -



setHasParticleType
public void setHasParticleType(boolean hasParticleType)(Code)



setItemTypeClassName
public void setItemTypeClassName(String itemTypeClassName)(Code)



setItemTypeQName
public void setItemTypeQName(QName itemTypeQName)(Code)



setLengthFacet
public void setLengthFacet(long lengthFacet)(Code)
Sets the length facet.
Parameters:
  lengthFacet -



setList
public void setList(boolean list)(Code)



setMaxExclusiveFacet
public void setMaxExclusiveFacet(String maxExclusiveFacet)(Code)
Sets the maxExclusive.
Parameters:
  maxExclusiveFacet -



setMaxInclusiveFacet
public void setMaxInclusiveFacet(String maxInclusiveFacet)(Code)
Sets the maxInclusive.
Parameters:
  maxInclusiveFacet -



setMaxLengthFacet
public void setMaxLengthFacet(long maxLengthFacet)(Code)
Sets the maxLength.
Parameters:
  maxLengthFacet -



setMemberTypes
public void setMemberTypes(Map memberTypes)(Code)



setMinExclusiveFacet
public void setMinExclusiveFacet(String minExclusiveFacet)(Code)
Sets the minExclusive.
Parameters:
  minExclusiveFacet -



setMinInclusiveFacet
public void setMinInclusiveFacet(String minInclusiveFacet)(Code)
Sets the minInclusive.
Parameters:
  minInclusiveFacet -



setMinLengthFacet
public void setMinLengthFacet(long minLengthFacet)(Code)
Sets the minLength.
Parameters:
  minLengthFacet -



setOrdered
public void setOrdered(boolean ordered)(Code)
Sets the ordered flag.
Parameters:
  ordered -



setOwnClassName
public void setOwnClassName(String ownClassName)(Code)



setOwnQname
public void setOwnQname(QName ownQname)(Code)



setParticleClass
public void setParticleClass(boolean particleClass)(Code)



setPatternFacet
public void setPatternFacet(String patternFacet)(Code)
Sets the pattern.
Parameters:
  patternFacet -



setRestriction
public void setRestriction(boolean restriction)(Code)
Sets the restriction status.
Parameters:
  restriction -



setRestrictionBaseType
public void setRestrictionBaseType(QName restrictionBaseType)(Code)
Sets the restriction basetype.
Parameters:
  restrictionBaseType -



setRestrictionClassName
public void setRestrictionClassName(String restrictionClassName)(Code)
Sets the restriction base class name. Valid only when the isRestriction returns true.
Parameters:
  restrictionClassName -



setSimple
public void setSimple(boolean simple)(Code)



setUnion
public void setUnion(boolean union)(Code)



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.