|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataContainer
Generic data container object
| Method Summary | |
|---|---|
byte[] |
getAttachment(String filename)
Get an attachment which is part of the data container by specifying the (relative) filename within the container. |
Node |
getContainer(String container)
Get xml dom tree for the specified container. |
String |
getContainerType()
Get container type identifier string. |
NodeList |
getNodeList(String container,
String xPathExpr)
Get the list of nodes which are referenced by the given xpath expression in the (current location in) the given container. |
String |
getString(String container,
String xPathExpr)
Get the string which is referenced by the given xpath expression in the (current location in) the given container. |
void |
setContainer(String container,
Node node)
Set xml tree for a container. |
| Method Detail |
|---|
String getContainerType()
String getString(String container,
String xPathExpr)
container - name of the container to search inxPathExpr - xpath expression to evaluate
NodeList getNodeList(String container,
String xPathExpr)
container - name of the container to search inxPathExpr - xpath expression to evaluate
Node getContainer(String container)
container - container identifier or null for "Default" container
void setContainer(String container,
Node node)
container - container identifier or null for "Default" containernode - dom tree to setbyte[] getAttachment(String filename)
filename - filename inside data container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||