Пример #1
0
 /** @param value {@link #exclude} (Names of resource types to exclude.) */
 public boolean hasExclude(String value) {
   if (this.exclude == null) return false;
   for (StringType v : this.exclude)
     if (v.equals(value)) // string
     return true;
   return false;
 }
Пример #2
0
 /**
  * @param value {@link #location} (A simple XPath limited to element names, repetition
  *     indicators and the default child access that identifies one of the elements in the
  *     resource that caused this issue to be raised.)
  */
 public boolean hasLocation(String value) {
   if (this.location == null) return false;
   for (StringType v : this.location)
     if (v.equals(value)) // string
     return true;
   return false;
 }