Esri Geoportal Server
1.2.9

com.esri.gpt.control.georss
Class DcatDomain.DcatMapping

java.lang.Object
  extended by com.esri.gpt.control.georss.DcatDomain.DcatMapping
Enclosing class:
DcatDomain

public static class DcatDomain.DcatMapping
extends Object

Domain mapping.

Association between pattern applied on the input value and output value.


Constructor Summary
DcatDomain.DcatMapping(Pattern pattern)
          Creates instance of the mapping.
DcatDomain.DcatMapping(Pattern pattern, DcatDomain.IDcatGetter valueGetter)
          Creates instance of the mapping.
DcatDomain.DcatMapping(Pattern pattern, String value)
          Creates instance of the mapping.
 
Method Summary
 String getValue(String input)
          Gets value.
 boolean matches(String input)
          Checks if input value matches pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DcatDomain.DcatMapping

public DcatDomain.DcatMapping(Pattern pattern,
                              DcatDomain.IDcatGetter valueGetter)
Creates instance of the mapping.

Parameters:
pattern - pattern
valueGetter - value getter used to get value if input value matches pattern

DcatDomain.DcatMapping

public DcatDomain.DcatMapping(Pattern pattern,
                              String value)
Creates instance of the mapping.

Parameters:
pattern - pattern
value - value to be returned if input value matches pattern

DcatDomain.DcatMapping

public DcatDomain.DcatMapping(Pattern pattern)
Creates instance of the mapping.

If input value matches pattern, is simply being passed by.

Parameters:
pattern - pattern
Method Detail

getValue

public String getValue(String input)
Gets value.

Parameters:
input - input value
Returns:
output value

matches

public boolean matches(String input)
Checks if input value matches pattern.

Parameters:
input - input value
Returns:
true if input value matches pattern

Esri Geoportal Server
1.2.9

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