Class MD_KeywordClass.Since2014

Enclosing class:
MD_KeywordClass

public static final class MD_KeywordClass.Since2014 extends MD_KeywordClass
Wraps the value only if marshalling an element from the ISO 19115:2014 metadata model. Otherwise (i.e. if marshalling according legacy ISO 19115:2003 model), omits the element.
  • Constructor Details

    • Since2014

      public Since2014()
      Empty constructor used only by JAXB.
  • Method Details

    • wrap

      protected MD_KeywordClass wrap(DefaultKeywordClass value)
      Wraps the given value in an ISO 19115-3 element, unless we are marshalling an older document.
      Overrides:
      wrap in class MD_KeywordClass
      Parameters:
      value - the metadata element to marshal.
      Returns:
      a non-null value only if marshalling ISO 19115-3 or newer.