|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WithElementsAndAttributesMIF
Meta-, or markerinterface, specifying objects, having nested elements & attributes.
| Method Summary | |
|---|---|
String |
getAttributeValue(String path,
String attribute)
Returns the value of the attribute of the Channel's child element reached by the given path. |
String[] |
getAttributeValues(String path,
String[] attributes)
Returns the values of the specified attributes of the Channel's child element reached by the given path. |
String |
getElementValue(String path)
Returns the value of the Channel's child element reached by the given path. |
String[] |
getElementValues(String path,
String[] elements)
Returns the values of the specified sub-elements of the Channel's child reached by the given path. |
| Method Detail |
|---|
String getElementValue(String path)
path - a path to the child. Paths are specified as element names, separated by a "/".
Namespaces are allowed. e.g. "aaa:bbb/ccc:ddd/eee".
null if path is null.
String[] getElementValues(String path,
String[] elements)
path - a path to the child. Paths are specified as element names, separated by a "/".
Namespaces are allowed. e.g. "aaa:bbb/ccc:ddd/eee".elements - An array of element names. May contain namespace specifiers.
path is null, returns the specified sub-elements for the Channel.
If elements is null, returns null.
String getAttributeValue(String path,
String attribute)
path - a path to the root of the elements. Paths are specified as element names, separated by a "/".attribute - the attribute. May contain a namespace specifier e.g. "rdf:resource".
path is null, returns the specified attribute for the Channel.
If attribute is null, returns null.
String[] getAttributeValues(String path,
String[] attributes)
path - a path to the child. Paths are specified as element names, separated by a "/".
Namespaces are allowed. e.g. "aaa:bbb/ccc:ddd/eee".attributes - An array of element names. May contain namespace specifiers.
path is null, returns the specified attributes for the Channel.
If attributes is null, returns null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||