|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.control.georss.dcatdef.BaseDcatField
com.esri.gpt.control.georss.dcatdef.TemporalField
public class TemporalField
Temporal field.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.esri.gpt.control.georss.dcatdef.BaseDcatField |
---|
BaseDcatField.FlagsProvider |
Field Summary |
---|
Fields inherited from class com.esri.gpt.control.georss.dcatdef.BaseDcatField |
---|
flags, fldName |
Fields inherited from interface com.esri.gpt.control.georss.dcatdef.DcatFieldDefinition |
---|
OBLIGATORY |
Constructor Summary | |
---|---|
TemporalField(String fldName)
Creates instance of the class. |
|
TemporalField(String fldName,
long flags)
Creates instance of the class. |
Method Summary | |
---|---|
protected List<Date> |
getDefaultValue(Properties properties)
Reads default value. |
protected IFeedAttribute |
getFeedAttribute(Map<String,IFeedAttribute> index,
DcatField field)
Gets feed attribute. |
void |
print(com.google.gson.stream.JsonWriter jsonWriter,
Properties properties,
DcatSchemas dcatSchemas,
IFeedRecord r)
Print field according to the definition. |
protected Date |
readValueAsDate(IFeedAttribute attr)
Reads date as date. |
protected String |
readValueAsString(IFeedAttribute attr)
Reads date as string. |
protected List<Date> |
readValuesAsDate(IFeedAttribute attr)
Reads value. |
protected List<String> |
readValuesAsString(IFeedAttribute attr)
Reads value. |
Methods inherited from class com.esri.gpt.control.georss.dcatdef.BaseDcatField |
---|
getAttributeField, getAttributeField, getDcatField, getDcatField, getDcatFields, getFeedAttribute, getFeedAttribute, getIndex, getOutFieldName, getSchemaKey, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TemporalField(String fldName)
fldName
- field namepublic TemporalField(String fldName, long flags)
fldName
- field nameflags
- flagsMethod Detail |
---|
protected IFeedAttribute getFeedAttribute(Map<String,IFeedAttribute> index, DcatField field)
BaseDcatField
getFeedAttribute
in class BaseDcatField
index
- indexfield
- field
null
if not availableprotected List<Date> readValuesAsDate(IFeedAttribute attr)
attr
- attribute
protected List<String> readValuesAsString(IFeedAttribute attr)
attr
- attribute
protected Date readValueAsDate(IFeedAttribute attr)
attr
- attribute
protected String readValueAsString(IFeedAttribute attr)
attr
- attribute
protected List<Date> getDefaultValue(Properties properties)
properties
- properties
public void print(com.google.gson.stream.JsonWriter jsonWriter, Properties properties, DcatSchemas dcatSchemas, IFeedRecord r) throws IOException
DcatFieldDefinition
jsonWriter
- underlying json writerproperties
- propertiesdcatSchemas
- dcat schemasr
- record to print
IOException
- if printing fails
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |