public class JsonResultRow extends DataSourceResultRow
| Constructor and Description |
|---|
JsonResultRow(java.lang.Object o,
java.lang.String query,
java.lang.String tagType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertToDataClass(java.lang.String tagType,
java.lang.Object entity) |
java.util.Map<java.lang.String,java.lang.Object> |
getAllFields()
All the fields and their values in this result row.
|
FieldResult |
getFieldEx(int i,
int mode,
java.lang.String tagType)
Get a field from this row.
|
FieldResult |
getFieldEx(java.lang.String fieldName,
int mode,
java.lang.String tagType)
Get a field from this row.
|
java.lang.String |
getFieldName(int index)
Get the name of the field at the provided index
|
java.lang.String[] |
getFieldNames()
Get the names of every field in this row (i.e.
|
java.lang.String |
getQuery() |
java.lang.String |
getUniquePath() |
java.lang.Object |
getValue(int mode,
java.lang.String tagType)
Get the value in this result row.
|
public JsonResultRow(java.lang.Object o,
java.lang.String query,
java.lang.String tagType)
public java.lang.String[] getFieldNames()
public FieldResult getFieldEx(java.lang.String fieldName, int mode, java.lang.String tagType) throws DataSourceException
fieldName - mode - tagType - The type= value from the tag (BaseTag.TYPE_*, etc.) from the tag calling this. Can be null or the empty string.DataSourceExceptionpublic java.lang.Object getValue(int mode,
java.lang.String tagType)
throws DataSourceException
mode - One of the BaseTag.MODE_ values.tagType - the type= for the tag.DataSourceExceptionpublic java.lang.Object convertToDataClass(java.lang.String tagType,
java.lang.Object entity)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic FieldResult getFieldEx(int i, int mode, java.lang.String tagType) throws DataSourceException
IDataSourceResultRowi - the 0-based index of the field requested.mode - One of the BaseTag.MODE_* values.tagType - The type= value from the tag (BaseTag.TYPE_*, etc.) from the tag calling this. Can be null or the empty string.DataSourceExceptionpublic java.lang.String getQuery()
public java.lang.String getUniquePath()
public java.lang.String getFieldName(int index)
getFieldName in interface IDataSourceResultRowgetFieldName in class DataSourceResultRowindex - public java.util.Map<java.lang.String,java.lang.Object> getAllFields()
Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software