com.ricebridge.xmlman.in
Class TextInfo

java.lang.Object
  extended bycom.ricebridge.xmlman.in.TextInfo

public class TextInfo
extends Object

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

CONCAT_DESCEND

public static final int CONCAT_DESCEND
collect all text nodes, including children: /foo

See Also:
Constant Field Values

CONCAT_CHILD

public static final int CONCAT_CHILD
collect just text nodes of this element: /foo/text()

See Also:
Constant Field Values

CHILD_PRED

public static final int CHILD_PRED
Collect specific text node: /foo/text()[1]

See Also:
Constant Field Values

AS_XML

public static final int AS_XML
Collect XML of element: rb:xml(/foo)

See Also:
Constant Field Values
Constructor Detail

TextInfo

public TextInfo(int pType)
Create TextInfo of a particular type, for example CONCAT_DESCEND.


TextInfo

public TextInfo(Condition pCondition)
Create TextInfo targeting a specific text node.

Method Detail

getType

public int getType()
Get the type of text collection, for example CONCAT_DESCEND.


getCondition

public Condition getCondition()
Get the Condition for text collection.


toString

public String toString()
Debugging description.



Copyright © 2004-2005 Ricebridge