|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis2.databinding.schema.BeanWriterMetaInfoHolder
This is a class used as a holder to pass on the meta information to the bean writer This meta information will be 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!!!!
| Constructor Summary | |
BeanWriterMetaInfoHolder()
|
|
| Method Summary | |
void |
addMaxOccurs(javax.xml.namespace.QName qName,
long maxOccurs)
Add the maxOccurs associated with a QName |
void |
addMinOccurs(javax.xml.namespace.QName qName,
long minOccurs)
add the maxOccurs associated with a QName |
void |
clearTables()
Clears the whole set of tables. |
boolean |
getAnyAttributeStatusForQName(javax.xml.namespace.QName qName)
Get whether a given QName has the any attribute status |
boolean |
getAnyStatusForQName(javax.xml.namespace.QName qName)
Get whether a given QName represents a anyType |
boolean |
getArrayStatusForQName(javax.xml.namespace.QName qName)
Get whether a given QName refers to an array |
boolean |
getAttributeStatusForQName(javax.xml.namespace.QName qName)
Get whether a given QName is an attribute |
java.lang.String |
getClassNameForQName(javax.xml.namespace.QName eltQName)
get the class name for the QName |
java.util.Iterator |
getElementQNameIterator()
Deprecated. Use #getQNameArray |
java.lang.String |
getExtensionClassName()
set the extensions base class name. |
long |
getMaxOccurs(javax.xml.namespace.QName qName)
get the maxOccurs associated with a QName |
long |
getMinOccurs(javax.xml.namespace.QName qName)
Add the minOccurs associated with a QName |
javax.xml.namespace.QName[] |
getOrderedQNameArray()
Get 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! |
javax.xml.namespace.QName[] |
getQNameArray()
get the QName array - may not be ordered |
javax.xml.namespace.QName |
getSchemaQNameForQName(javax.xml.namespace.QName eltQName)
Get the schema name for the given QName |
boolean |
isAnonymous()
get the anon status |
boolean |
isExtension()
get the extension status |
boolean |
isOrdered()
ge the ordered statu |
void |
registerMapping(javax.xml.namespace.QName qName,
javax.xml.namespace.QName schemaName,
java.lang.String javaClassName)
Register a mapping |
void |
registerMapping(javax.xml.namespace.QName qName,
javax.xml.namespace.QName schemaName,
java.lang.String javaClassName,
java.lang.Integer type)
Register a mapping |
void |
registerQNameIndex(javax.xml.namespace.QName qName,
int index)
register a QName for the order |
void |
setAnonymous(boolean anonymous)
Set the anonymous flag |
void |
setExtension(boolean extension)
set the extension status |
void |
setExtensionClassName(java.lang.String extensionClassName)
set the extensions base class name. |
void |
setOrdered(boolean ordered)
set the ordered flag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BeanWriterMetaInfoHolder()
| Method Detail |
public boolean isAnonymous()
public void setAnonymous(boolean anonymous)
anonymous - public java.lang.String getExtensionClassName()
public void setExtensionClassName(java.lang.String extensionClassName)
extensionClassName - public boolean isExtension()
public void setExtension(boolean extension)
extension - public boolean isOrdered()
public void setOrdered(boolean ordered)
ordered -
public void registerMapping(javax.xml.namespace.QName qName,
javax.xml.namespace.QName schemaName,
java.lang.String javaClassName)
qName - schemaName - javaClassName -
public void registerMapping(javax.xml.namespace.QName qName,
javax.xml.namespace.QName schemaName,
java.lang.String javaClassName,
java.lang.Integer type)
qName - schemaName - javaClassName - type - public javax.xml.namespace.QName getSchemaQNameForQName(javax.xml.namespace.QName eltQName)
eltQName -
public java.lang.String getClassNameForQName(javax.xml.namespace.QName eltQName)
eltQName -
public boolean getAttributeStatusForQName(javax.xml.namespace.QName qName)
qName -
public boolean getAnyStatusForQName(javax.xml.namespace.QName qName)
qName -
public boolean getArrayStatusForQName(javax.xml.namespace.QName qName)
qName -
public boolean getAnyAttributeStatusForQName(javax.xml.namespace.QName qName)
qName -
public void clearTables()
public void addMinOccurs(javax.xml.namespace.QName qName,
long minOccurs)
qName - minOccurs -
public void registerQNameIndex(javax.xml.namespace.QName qName,
int index)
qName - index - public long getMinOccurs(javax.xml.namespace.QName qName)
qName -
public long getMaxOccurs(javax.xml.namespace.QName qName)
qName -
public void addMaxOccurs(javax.xml.namespace.QName qName,
long maxOccurs)
qName - maxOccurs - public java.util.Iterator getElementQNameIterator()
public javax.xml.namespace.QName[] getQNameArray()
public javax.xml.namespace.QName[] getOrderedQNameArray()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||