|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.xmlman.in.TextInfo
Description of the type of text to collect from an element.
| Field Summary | |
static int |
AS_XML
Collect XML of element: rb:xml(/foo) |
static int |
CHILD_PRED
Collect specific text node: /foo/text()[1] |
static int |
CONCAT_CHILD
collect just text nodes of this element: /foo/text() |
static int |
CONCAT_DESCEND
collect all text nodes, including children: /foo |
| Constructor Summary | |
TextInfo(Condition pCondition)
Create TextInfo targeting a specific text node. |
|
TextInfo(int pType)
Create TextInfo of a particular type, for example CONCAT_DESCEND. |
|
| Method Summary | |
Condition |
getCondition()
Get the Condition for text collection. |
int |
getType()
Get the type of text collection, for example CONCAT_DESCEND. |
String |
toString()
Debugging description. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CONCAT_DESCEND
/foo
public static final int CONCAT_CHILD
/foo/text()
public static final int CHILD_PRED
/foo/text()[1]
public static final int AS_XML
rb:xml(/foo)
| Constructor Detail |
public TextInfo(int pType)
TextInfo of a particular type, for example CONCAT_DESCEND.
public TextInfo(Condition pCondition)
TextInfo targeting a specific text node.
| Method Detail |
public int getType()
CONCAT_DESCEND.
public Condition getCondition()
Condition for text collection.
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||