RNGLabelAnnotation.java
880 Bytes
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* org.kohsuke.rngom.rngparser.digested.DAnnotation
* org.kohsuke.rngom.rngparser.digested.DAnnotation$Attribute
*/
package com.adobe.xmp.schema.rng.parser.annotation;
import com.adobe.xmp.schema.rng.parser.annotation.RNGAnnotation;
import org.kohsuke.rngom.rngparser.digested.DAnnotation;
import org.w3c.dom.Element;
public class RNGLabelAnnotation
extends RNGAnnotation {
private String label;
RNGLabelAnnotation(Element element) {
this.label = element.getAttribute("name");
}
RNGLabelAnnotation(DAnnotation annot) {
DAnnotation.Attribute l = annot.getAttribute("http://ns.adobe.com/xmp/schema/info/", "label");
if (l != null) {
this.label = l.getValue();
}
}
public String getLabel() {
return this.label;
}
}