|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.databinding.axiom.OMElementWrapperHandler
public class OMElementWrapperHandler
OMElement wrapper handler implementation
Constructor Summary | |
---|---|
OMElementWrapperHandler()
|
Method Summary | |
---|---|
OMElement |
create(Operation operation,
boolean input)
Create a wrapper element |
java.lang.Object |
getChild(OMElement wrapper,
ElementInfo childElement,
int index)
|
java.util.List |
getChildren(OMElement 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 wrapperObj,
Operation operation,
boolean input)
Check if the given data is an instance of the wrapper |
void |
setChild(OMElement wrapper,
int i,
ElementInfo childElement,
java.lang.Object value)
|
void |
setChildren(OMElement 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 OMElementWrapperHandler()
Method Detail |
---|
public OMElement create(Operation operation, boolean input)
WrapperHandler
create
in interface WrapperHandler<OMElement>
operation
- The operationinput
- Is it for input or output
public void setChildren(OMElement wrapper, java.lang.Object[] childObjects, Operation operation, boolean input)
WrapperHandler
setChildren
in interface WrapperHandler<OMElement>
wrapper
- The wrapper objectchildObjects
- The child objectsoperation
- The operationinput
- Is it for input or outputpublic void setChild(OMElement wrapper, int i, ElementInfo childElement, java.lang.Object value)
public java.util.List getChildren(OMElement wrapper, Operation operation, boolean input)
WrapperHandler
getChildren
in interface WrapperHandler<OMElement>
wrapper
- The wrapper objectoperation
- The operationinput
- Is it for input or output
public DataType getWrapperType(Operation operation, boolean input)
WrapperHandler
getWrapperType
in interface WrapperHandler<OMElement>
operation
- The operationinput
- Is it for input or output?
WrapperHandler.getWrapperType(Operation, boolean)
public boolean isInstance(java.lang.Object wrapperObj, Operation operation, boolean input)
WrapperHandler
isInstance
in interface WrapperHandler<OMElement>
operation
- The operationinput
- Input or output
public java.lang.Object getChild(OMElement wrapper, ElementInfo childElement, int index)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |