|
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.StringField
public class StringField
String 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 | |
---|---|
StringField(String fldName)
Creates instance of the class. |
|
StringField(String fldName,
BaseDcatField.FlagsProvider flags)
Creates instance of the class. |
|
StringField(String fldName,
long flags)
Creates instance of the class. |
Method Summary | |
---|---|
String |
eval(Properties properties,
DcatSchemas dcatSchemas,
IFeedRecord r)
Evaluate. |
protected String |
getDefaultValue(IFeedRecord r,
Properties properties)
Gets default value. |
void |
print(com.google.gson.stream.JsonWriter jsonWriter,
Properties properties,
DcatSchemas dcatSchemas,
IFeedRecord r)
Print field according to the definition. |
protected String |
readValue(DcatSchemas dcatSchemas,
DcatField dcatField,
IFeedRecord r,
IFeedAttribute attr)
Reads value. |
protected boolean |
validateValue(String value)
Validates value. |
Methods inherited from class com.esri.gpt.control.georss.dcatdef.BaseDcatField |
---|
getAttributeField, getAttributeField, getDcatField, getDcatField, getDcatFields, getFeedAttribute, 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 StringField(String fldName)
fldName
- field namepublic StringField(String fldName, long flags)
fldName
- field nameflags
- flagspublic StringField(String fldName, BaseDcatField.FlagsProvider flags)
fldName
- field nameflags
- flags providerMethod Detail |
---|
protected String readValue(DcatSchemas dcatSchemas, DcatField dcatField, IFeedRecord r, IFeedAttribute attr)
dcatSchemas
- DCAT schemasdcatField
- DCAT fieldr
- feed recordsattr
- attribute attribute
protected boolean validateValue(String value)
value
- value to validate
true
if value is validprotected String getDefaultValue(IFeedRecord r, Properties properties)
r
- recordproperties
- properties
public String eval(Properties properties, DcatSchemas dcatSchemas, IFeedRecord r)
properties
- propertiesdcatSchemas
- schemasr
- record
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 |