Class KmlStyleMapEntryImpl

java.lang.Object
org.codice.ddf.spatial.kml.transformer.KmlStyleMapEntryImpl
All Implemented Interfaces:
KmlStyleMapEntry

public class KmlStyleMapEntryImpl extends Object implements KmlStyleMapEntry
Default Implentation of KmlStyleMapEntry.
Author:
Keith C Wire
  • Constructor Details

    • KmlStyleMapEntryImpl

      public KmlStyleMapEntryImpl()
    • KmlStyleMapEntryImpl

      public KmlStyleMapEntryImpl(String name, String value, String url)
  • Method Details

    • init

      public void init()
    • metacardMatch

      public boolean metacardMatch(ddf.catalog.data.Metacard metacard)
      Description copied from interface: KmlStyleMapEntry
      Determines if a Metacard has an Attribute and Value that match this KmlStyleMapEntry.
      Specified by:
      metacardMatch in interface KmlStyleMapEntry
      Parameters:
      metacard - - the Metacard to check for the Attribute
      Returns:
      - true if a match was found, false otherwise
    • getAttributeName

      public String getAttributeName()
      Specified by:
      getAttributeName in interface KmlStyleMapEntry
    • setAttributeName

      public void setAttributeName(String attributeName)
    • getAttributeValue

      public String getAttributeValue()
      Specified by:
      getAttributeValue in interface KmlStyleMapEntry
    • setAttributeValue

      public void setAttributeValue(String attributeValue)
    • getStyleUrl

      public String getStyleUrl()
      Specified by:
      getStyleUrl in interface KmlStyleMapEntry
    • setStyleUrl

      public void setStyleUrl(String styleUrl)