|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.xmlman.in.OutPath
Describe an output element structure based on a TargetPath.
| Field Summary | |
static int |
CHILD
Child part; place as child element of current element. |
static int |
DESCEND
Descendant part; search subtree of all children for a matching element. |
| Constructor Summary | |
protected |
OutPath()
For testing. |
|
OutPath(TargetPath pTargetPath,
boolean pIsRecord)
Create new OutPath based on TargetPath. |
| Method Summary | |
int |
getNumParts()
Get the total number of parts. |
OutData |
getOutData()
Get the data field represented by this path. |
String |
getPartName()
Get the name of the current part. |
String |
getPartName(int pPartIndex)
Get the name of the specified part. |
int |
getPartPosition()
Get the preferred position of the current part among elements with the same name. |
int |
getPartPosition(int pPartIndex)
Get the preferred position of the specified part. |
int |
getPartType()
Get the type of the current part: CHILD or DESCEND. |
int |
getPartType(int pPartIndex)
Get the type of the specified part. |
boolean |
isAbsolute()
Indicate that this path is absolute. |
boolean |
isRecord()
Indicate that this path ends with a record element. |
boolean |
nextPart()
get the next path part. |
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 CHILD
public static final int DESCEND
| Constructor Detail |
public OutPath(TargetPath pTargetPath,
boolean pIsRecord)
TargetPath.
pTargetPath - TargetPath from parsed XPath expressionspIsRecord - Indicate that this is a path to the record elementprotected OutPath()
| Method Detail |
public boolean nextPart()
public String getPartName()
public int getPartType()
CHILD or DESCEND.
public int getPartPosition()
public String getPartName(int pPartIndex)
public int getPartType(int pPartIndex)
public int getPartPosition(int pPartIndex)
public int getNumParts()
public boolean isRecord()
public boolean isAbsolute()
public OutData getOutData()
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||