Esri Geoportal Server
1.2.9

com.esri.gpt.control.georss.dcatdef
Class ReferencesField

java.lang.Object
  extended by com.esri.gpt.control.georss.dcatdef.BaseDcatField
      extended by com.esri.gpt.control.georss.dcatdef.ReferencesField
All Implemented Interfaces:
DcatFieldDefinition

public class ReferencesField
extends BaseDcatField

References.


Nested Class Summary
static interface ReferencesField.IResourceLinkPredicate
          Resource link predicate
 
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
ReferencesField(String name)
           
ReferencesField(String name, String... excludedTags)
           
 
Method Summary
 void print(com.google.gson.stream.JsonWriter jsonWriter, Properties properties, DcatSchemas dcatSchemas, IFeedRecord r)
          Print field according to the definition.
protected  ArrayList<String> readValue(DcatSchemas dcatSchemas, DcatField dcatField, IFeedRecord r, IFeedAttribute attr)
           
protected  String 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

ReferencesField

public ReferencesField(String name)

ReferencesField

public ReferencesField(String name,
                       String... excludedTags)
Method Detail

print

public void print(com.google.gson.stream.JsonWriter jsonWriter,
                  Properties properties,
                  DcatSchemas dcatSchemas,
                  IFeedRecord r)
           throws IOException
Description copied from interface: DcatFieldDefinition
Print field according to the definition.

Parameters:
jsonWriter - underlying json writer
properties - properties
dcatSchemas - dcat schemas
r - record to print
Throws:
IOException - if printing fails

validateValue

protected String validateValue(String value)
Validates value.

Parameters:
value - value to validate
Returns:
true if value is valid

readValue

protected ArrayList<String> readValue(DcatSchemas dcatSchemas,
                                      DcatField dcatField,
                                      IFeedRecord r,
                                      IFeedAttribute attr)

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.