|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.databinding.xml.DOMWrapperHandler
public class DOMWrapperHandler
Constructor Summary | |
---|---|
DOMWrapperHandler()
|
Method Summary | |
---|---|
org.w3c.dom.Node |
create(Operation operation,
boolean input)
Create a wrapper element |
java.util.List |
getChildren(org.w3c.dom.Node 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(org.w3c.dom.Node wrapper,
int i,
ElementInfo childElement,
java.lang.Object value)
|
void |
setChildren(org.w3c.dom.Node 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 DOMWrapperHandler()
Method Detail |
---|
public org.w3c.dom.Node create(Operation operation, boolean input)
WrapperHandler
create
in interface WrapperHandler<org.w3c.dom.Node>
operation
- The operationinput
- Is it for input or output
public void setChildren(org.w3c.dom.Node wrapper, java.lang.Object[] childObjects, Operation operation, boolean input)
WrapperHandler
setChildren
in interface WrapperHandler<org.w3c.dom.Node>
wrapper
- The wrapper objectchildObjects
- The child objectsoperation
- The operationinput
- Is it for input or outputpublic void setChild(org.w3c.dom.Node wrapper, int i, ElementInfo childElement, java.lang.Object value)
public java.util.List getChildren(org.w3c.dom.Node wrapper, Operation operation, boolean input)
WrapperHandler
getChildren
in interface WrapperHandler<org.w3c.dom.Node>
wrapper
- The wrapper objectoperation
- The operationinput
- Is it for input or output
public DataType getWrapperType(Operation operation, boolean input)
WrapperHandler
getWrapperType
in interface WrapperHandler<org.w3c.dom.Node>
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<org.w3c.dom.Node>
operation
- The operationinput
- Input or output
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |