|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.html.HTMLExtractor
This class is used for extracting HTML data into Rows. It may also be used for retrieving selected Rows out of the HttpSession in the HttpServletRequest.
Field Summary | |
static byte |
ARRAY_LIST
|
static String |
EXTRACTABLE_FIELD
|
static String |
EXTRACTABLE_RC_FIELD
|
static String |
EXTRACTABLE_RC_PREFIX
|
static String |
EXTRACTABLE_ROW_FIELD
|
static String |
EXTRACTABLE_ROW_PREFIX
|
static byte |
ROW_COLLECTION
|
static String |
TRANSIENT
|
Constructor Summary | |
HTMLExtractor()
|
Method Summary | |
static Row |
extractDataIntoRow(Row row,
javax.servlet.http.HttpServletRequest request)
Extracts information off the HttpServletRequest and puts its in the given Row. |
static Row |
extractDataIntoRow(String rowNavKey,
Row row,
javax.servlet.http.HttpServletRequest request)
Extracts information off the HttpServletRequest and puts it in the given Row. |
static void |
extractTableData(RowCollection rc,
javax.servlet.http.HttpServletRequest request)
Extracts information off the HttpServletRequest out of a table and puts it in the given RowCollection's Rows. |
static void |
extractTableData(String rcKey,
RowCollection rc,
javax.servlet.http.HttpServletRequest request)
Extracts information off the HttpServletRequest out of a table and puts it in the given RowCollection's Rows. |
static Row |
extractTableDataIntoRow(String rcNavKey,
String rowNavKey,
Row row,
javax.servlet.http.HttpServletRequest request)
Extracts information off the HttpServletRequest out of a table and puts it in the given Row. |
static Row |
getSelectedRow(String rcSessionId,
javax.servlet.http.HttpServletRequest request)
Retrieves the selected Row from the HttpServletRequest. |
static List |
getSelectedRows(String rcSessionId,
byte returnType,
javax.servlet.http.HttpServletRequest request)
Retrieves the selected Rows from the HttpServletRequest. |
static List |
getSelectedRows(String rcSessionId,
javax.servlet.http.HttpServletRequest req)
Retrieves the selected Rows from the HttpServletRequest. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte ROW_COLLECTION
public static final byte ARRAY_LIST
public static final String TRANSIENT
public static final String EXTRACTABLE_FIELD
public static final String EXTRACTABLE_RC_FIELD
public static final String EXTRACTABLE_ROW_FIELD
public static final String EXTRACTABLE_ROW_PREFIX
public static final String EXTRACTABLE_RC_PREFIX
Constructor Detail |
public HTMLExtractor()
Method Detail |
public static Row extractDataIntoRow(String rowNavKey, Row row, javax.servlet.http.HttpServletRequest request) throws CMException
row
- Row to extract values intorequest
- HttpServletRequest containing values to extract
CMException
public static Row extractDataIntoRow(Row row, javax.servlet.http.HttpServletRequest request) throws CMException
row
- Row to extract data intorequest
- request from the client
CMException
public static void extractTableData(String rcKey, RowCollection rc, javax.servlet.http.HttpServletRequest request) throws CMException
rcKey
- Navigation key for the given RowCollectionrc
- RowCollection to extract data intorequest
- request from client
CMException
public static void extractTableData(RowCollection rc, javax.servlet.http.HttpServletRequest request) throws CMException
rc
- RowCollection to extract data intorequest
- request from client.
CMException
public static Row extractTableDataIntoRow(String rcNavKey, String rowNavKey, Row row, javax.servlet.http.HttpServletRequest request) throws CMException
row
- Row to extract values intorequest
- HttpServletRequest containing values to extract.
CMException
public static Row getSelectedRow(String rcSessionId, javax.servlet.http.HttpServletRequest request) throws DataEngineException
request
- HttpServletRequest to get selected Row
DataEngineException
public static List getSelectedRows(String rcSessionId, byte returnType, javax.servlet.http.HttpServletRequest request) throws DataEngineException
rcSessionId
- The ID of the existing table in the sessionreturnType
- Indicates whether the rows should be returned in an ArrayList or RowCollection. These
options are defined as constants in the class.
DataEngineException
public static List getSelectedRows(String rcSessionId, javax.servlet.http.HttpServletRequest req) throws DataEngineException
req
- The HttpServletRequest
DataEngineException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |