|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.databinding.xmlbeans.XMLBeansWrapperHandler
public class XMLBeansWrapperHandler
Constructor Summary | |
---|---|
XMLBeansWrapperHandler()
|
Method Summary | |
---|---|
XmlObject |
create(Operation operation,
boolean input)
Create a wrapper element |
java.util.List |
getChildren(XmlObject wrapper,
Operation operation,
boolean input)
Get a list of child elements from the wrapper |
DataType |
getWrapperType(Operation operation,
boolean input)
Get the data type for the wrapper |
boolean |
isInstance(java.lang.Object wrapper,
Operation operation,
boolean input)
Check if the given data is an instance of the wrapper |
void |
setChildren(XmlObject wrapper,
java.lang.Object[] childObjects,
Operation operation,
boolean input)
Populate the wrapper element with the child objects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLBeansWrapperHandler()
Method Detail |
---|
public XmlObject create(Operation operation, boolean input)
WrapperHandler
create
in interface WrapperHandler<XmlObject>
operation
- The operationinput
- Is it for input or output
WrapperHandler.create(org.apache.tuscany.sca.interfacedef.Operation, boolean)
public java.util.List getChildren(XmlObject wrapper, Operation operation, boolean input)
WrapperHandler
getChildren
in interface WrapperHandler<XmlObject>
wrapper
- The wrapper objectoperation
- The operationinput
- Is it for input or output
WrapperHandler.getChildren(java.lang.Object, org.apache.tuscany.sca.interfacedef.Operation, boolean)
public DataType getWrapperType(Operation operation, boolean input)
WrapperHandler
getWrapperType
in interface WrapperHandler<XmlObject>
operation
- The operationinput
- Is it for input or output?
WrapperHandler.getWrapperType(org.apache.tuscany.sca.interfacedef.Operation, boolean)
public boolean isInstance(java.lang.Object wrapper, Operation operation, boolean input)
WrapperHandler
isInstance
in interface WrapperHandler<XmlObject>
operation
- The operationinput
- Input or output
WrapperHandler.isInstance(java.lang.Object, org.apache.tuscany.sca.interfacedef.Operation, boolean)
public void setChildren(XmlObject wrapper, java.lang.Object[] childObjects, Operation operation, boolean input)
WrapperHandler
setChildren
in interface WrapperHandler<XmlObject>
wrapper
- The wrapper objectchildObjects
- The child objectsoperation
- The operationinput
- Is it for input or outputWrapperHandler.setChildren(java.lang.Object, java.lang.Object[], org.apache.tuscany.sca.interfacedef.Operation, boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |