Standard Libraries

import default
import semmle.code.java.frameworks.spring.SpringXMLElement

/** Represents a <meta> element in Spring XML files*/
class SpringMeta extends SpringXMLElement {
  SpringMeta() {
    this.getName() = "meta"
  }

  /** returns the value of the key attribute*/
  string getMetaKey() {
    result = this.getAttributeValue("key")
  }

  /** returns the value of the value attribute*/
  string getMetaValue() {
    result = this.getAttributeValue("value")
	}
}