javax.xml.bind.annotation

Interface XmlEnumValue

public interface XmlEnumValue

Method Summary

String
value()

Method Details

value

public String value()
Usages and Demos :

View More Examples of value()
   1: import javax.xml.bind.annotation.XmlEnum;
   2: import javax.xml.bind.annotation.XmlEnumValue;
   3: import javax.xml.bind.annotation.XmlRootElement;
   4:         ...
   5:             String name = nav().getFieldName(constant);
   6:             XmlEnumValue xev = builder.reader.getFieldAnnotation(XmlEnumValue.class, constant, this);
   7: 
   8:         ...
   9:             if(xev==null)   literal = name;
  10:             else            literal = xev.value();

View Full Code Here