Esri Geoportal Server
1.0

com.esri.gpt.catalog.discovery
Class PropertyMeanings

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,T>
              extended by com.esri.gpt.framework.collection.CaseInsensitiveMap<PropertyMeaning>
                  extended by com.esri.gpt.catalog.discovery.PropertyMeanings
All Implemented Interfaces:
Serializable, Cloneable, Map<String,PropertyMeaning>

public class PropertyMeanings
extends CaseInsensitiveMap<PropertyMeaning>

Contains the configured collection of discoverble/storable property meanings.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
static String NAME_DATEMODIFIED
          Date modified property name = "dateModified"
static String NAME_UUID
          Document UUID (primary key) name = "uuid"
 
Constructor Summary
PropertyMeanings()
          Default constructor.
 
Method Summary
 void echo(StringBuffer sb)
          Appends property information for the component to a buffer.
 AliasedDiscoverables getAllAliased()
          Gets the entire map of aliased discoverables.
 PropertySets getDcPropertySets()
          Gets the configured Dublin Core property sets.
 void load(Document dom)
          Loads property meanings from an XML document.
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class com.esri.gpt.framework.collection.CaseInsensitiveMap
containsKey, get, getAllowEmptyKey, put
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, entrySet, isEmpty, keySet, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
entrySet, equals, hashCode, isEmpty, keySet, putAll, remove, size, values
 

Field Detail

NAME_DATEMODIFIED

public static final String NAME_DATEMODIFIED
Date modified property name = "dateModified"

See Also:
Constant Field Values

NAME_UUID

public static final String NAME_UUID
Document UUID (primary key) name = "uuid"

See Also:
Constant Field Values
Constructor Detail

PropertyMeanings

public PropertyMeanings()
Default constructor.

Method Detail

getAllAliased

public AliasedDiscoverables getAllAliased()
Gets the entire map of aliased discoverables.

Returns:
the map of aliased discoverables

getDcPropertySets

public PropertySets getDcPropertySets()
Gets the configured Dublin Core property sets.

Returns:
the property sets

load

public void load(Document dom)
          throws XPathExpressionException
Loads property meanings from an XML document.

The XML document is based upon the configuration file:
gpt/metadata/property-meanings.xml

Parameters:
dom - the XML document associated with the property meanings configuration file
Throws:
XPathExpressionException - if an invalid XPath expression was encountered

echo

public void echo(StringBuffer sb)
Appends property information for the component to a buffer.

Parameters:
sb - the buffer to use when appending information

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class CaseInsensitiveMap<PropertyMeaning>
Returns:
the string

Esri Geoportal Server
1.0

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