|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.schema.BeanWriterMetaInfoHolder
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!!!!
Constructor Summary | |
BeanWriterMetaInfoHolder()
|
Method Summary | |
void |
addMaxOccurs(QName qName,
long maxOccurs)
Adds the maxOccurs associated with a QName. |
void |
addMinOccurs(QName qName,
long minOccurs)
Adds the minOccurs associated with a QName. |
void |
clearTables()
Clears the whole set of tables. |
boolean |
getAnyAttributeStatusForQName(QName qName)
Gets whether a given QName has the any attribute status. |
boolean |
getAnyStatusForQName(QName qName)
Gets whether a given QName represents a anyType |
boolean |
getArrayStatusForQName(QName qName)
Gets whether a given QName refers to an array. |
boolean |
getAttributeStatusForQName(QName qName)
Gets whether a given QName is an attribute |
String |
getClassNameForQName(QName eltQName)
Gets the class name for the QName. |
Iterator |
getElementQNameIterator()
Deprecated. Use #getQNameArray |
String |
getExtensionClassName()
Sets the extensions base class name. |
long |
getMaxOccurs(QName qName)
Gets the maxOccurs associated with a QName. |
long |
getMinOccurs(QName qName)
Adds the minOccurs associated with a QName. |
QName[] |
getOrderedQNameArray()
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! |
QName[] |
getQNameArray()
Gets the QName array - may not be ordered. |
QName |
getSchemaQNameForQName(QName eltQName)
Gets the schema name for the given QName. |
boolean |
isAnonymous()
Gets the anonymous status. |
boolean |
isExtension()
Gets the extension status. |
boolean |
isOrdered()
Gets the ordered status. |
void |
registerMapping(QName qName,
QName schemaName,
String javaClassName)
Registers a mapping. |
void |
registerMapping(QName qName,
QName schemaName,
String javaClassName,
Integer type)
Registers a mapping. |
void |
registerQNameIndex(QName qName,
int index)
Registers a QName for the order. |
void |
setAnonymous(boolean anonymous)
Sets the anonymous flag. |
void |
setExtension(boolean extension)
Sets the extension status. |
void |
setExtensionClassName(String extensionClassName)
Sets the extensions base class name. |
void |
setOrdered(boolean ordered)
Sets 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 String getExtensionClassName()
public void setExtensionClassName(String extensionClassName)
extensionClassName
- public boolean isExtension()
public void setExtension(boolean extension)
extension
- public boolean isOrdered()
public void setOrdered(boolean ordered)
ordered
- public void registerMapping(QName qName, QName schemaName, String javaClassName)
qName
- schemaName
- javaClassName
- public void registerMapping(QName qName, QName schemaName, String javaClassName, Integer type)
qName
- schemaName
- javaClassName
- type
- public QName getSchemaQNameForQName(QName eltQName)
eltQName
-
public String getClassNameForQName(QName eltQName)
eltQName
-
public boolean getAttributeStatusForQName(QName qName)
qName
-
public boolean getAnyStatusForQName(QName qName)
qName
-
public boolean getArrayStatusForQName(QName qName)
qName
-
public boolean getAnyAttributeStatusForQName(QName qName)
qName
-
public void clearTables()
public void addMinOccurs(QName qName, long minOccurs)
qName
- minOccurs
- public void registerQNameIndex(QName qName, int index)
qName
- index
- public long getMinOccurs(QName qName)
qName
-
public long getMaxOccurs(QName qName)
qName
-
public void addMaxOccurs(QName qName, long maxOccurs)
qName
- maxOccurs
- public Iterator getElementQNameIterator()
public QName[] getQNameArray()
public QName[] getOrderedQNameArray()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |