Esri Geoportal Server
1.2.9

com.esri.gpt.control.georss
Class DcatDomain

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<DcatDomain.DcatMapping>
              extended by com.esri.gpt.control.georss.DcatDomain
All Implemented Interfaces:
Serializable, Cloneable, Iterable<DcatDomain.DcatMapping>, Collection<DcatDomain.DcatMapping>, List<DcatDomain.DcatMapping>, RandomAccess

public class DcatDomain
extends ArrayList<DcatDomain.DcatMapping>

Dcat domain of the field.

See Also:
Serialized Form

Nested Class Summary
static class DcatDomain.DcatCopyGetter
          Copy getter.
static class DcatDomain.DcatFixedGetter
          Fixed value getter.
static class DcatDomain.DcatMapping
          Domain mapping.
static interface DcatDomain.IDcatGetter
          Value getter.
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DcatDomain()
           
 
Method Summary
 void addMapping(String from, String value)
          Adds domain mapping.
 String translate(String value)
          Translates input value into an appropriate domain value.
 String translate(String value, String defValue)
          Translates input value into an appropriate domain value.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

DcatDomain

public DcatDomain()
Method Detail

addMapping

public void addMapping(String from,
                       String value)
Adds domain mapping.

Parameters:
from - pattern of the input value
value - output value

translate

public String translate(String value,
                        String defValue)
Translates input value into an appropriate domain value.

Parameters:
value - input value
defValue - default value
Returns:

translate

public String translate(String value)
Translates input value into an appropriate domain value.

If translation not found, input value is returned.

Parameters:
value - input value
Returns:

Esri Geoportal Server
1.2.9

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