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) |
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.DataSourceException
public 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.DataSourceException
public java.lang.Object convertToDataClass(java.lang.String tagType, java.lang.Object entity) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public FieldResult getFieldEx(int i, int mode, java.lang.String tagType) throws DataSourceException
IDataSourceResultRow
i
- 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.DataSourceException
public java.lang.String getQuery()
public java.lang.String getUniquePath()
public java.lang.String getFieldName(int index)
getFieldName
in interface IDataSourceResultRow
getFieldName
in class DataSourceResultRow
index
- Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software