|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.xmlman.in.OutPath
com.ricebridge.xmlman.in.test.TestOutPath
A subclass of OutPath used for testing.
The Source Code of this Java class is available under a BSD-style license.
| Nested Class Summary | |
static class |
TestOutPath.Part
|
| Field Summary |
| Fields inherited from class com.ricebridge.xmlman.in.OutPath |
CHILD, DESCEND |
| Constructor Summary | |
TestOutPath(OutData pOutData,
boolean pIsAbsolute)
|
|
TestOutPath(OutData pOutData,
boolean pIsAbsolute,
List pPartList)
|
|
TestOutPath(OutData pOutData,
boolean pIsAbsolute,
String pName0,
int pType0)
|
|
TestOutPath(OutData pOutData,
boolean pIsAbsolute,
String pName0,
int pType0,
String pName1,
int pType1)
|
|
TestOutPath(OutData pOutData,
boolean pIsAbsolute,
String pName0,
int pType0,
String pName1,
int pType1,
String pName2,
int pType2)
|
|
TestOutPath(OutData pOutData,
boolean pIsAbsolute,
String pName0,
int pType0,
String pName1,
int pType1,
String pName2,
int pType2,
String pName3,
int pType3)
|
|
| 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: OutPath.CHILD or OutPath.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. |
void |
setIsAbsolute(boolean pIsAbsolute)
|
void |
setIsRecord(boolean pIsRecord)
|
String |
toString()
Debugging description. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TestOutPath(OutData pOutData,
boolean pIsAbsolute)
public TestOutPath(OutData pOutData,
boolean pIsAbsolute,
String pName0,
int pType0)
public TestOutPath(OutData pOutData,
boolean pIsAbsolute,
String pName0,
int pType0,
String pName1,
int pType1)
public TestOutPath(OutData pOutData,
boolean pIsAbsolute,
String pName0,
int pType0,
String pName1,
int pType1,
String pName2,
int pType2)
public TestOutPath(OutData pOutData,
boolean pIsAbsolute,
String pName0,
int pType0,
String pName1,
int pType1,
String pName2,
int pType2,
String pName3,
int pType3)
public TestOutPath(OutData pOutData,
boolean pIsAbsolute,
List pPartList)
| Method Detail |
public boolean nextPart()
OutPath
nextPart in class OutPathpublic String getPartName()
OutPath
getPartName in class OutPathpublic int getPartType()
OutPathOutPath.CHILD or OutPath.DESCEND.
getPartType in class OutPathpublic int getPartPosition()
OutPath
getPartPosition in class OutPathpublic String getPartName(int pPartIndex)
OutPath
getPartName in class OutPathpublic int getPartType(int pPartIndex)
OutPath
getPartType in class OutPathpublic int getPartPosition(int pPartIndex)
OutPath
getPartPosition in class OutPathpublic int getNumParts()
OutPath
getNumParts in class OutPathpublic boolean isRecord()
OutPath
isRecord in class OutPathpublic boolean isAbsolute()
OutPath
isAbsolute in class OutPathpublic OutData getOutData()
OutPath
getOutData in class OutPathpublic void setIsRecord(boolean pIsRecord)
public void setIsAbsolute(boolean pIsAbsolute)
public String toString()
OutPath
toString in class OutPath
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||