javax.xml.bind.annotation

Interface XmlAccessorType

public interface XmlAccessorType

Method Summary

XmlAccessType
value()

Method Details

value

public XmlAccessType value()
            throws javax.xml.bind.annotation.XmlAccessType.PUBLIC_MEMBER
Usages and Demos :

View More Examples of value()
   1:       if (packageOrder != null)
   2:         accessOrder = packageOrder.value();
   3: 
   4:         ...
   5:       if (classOrder != null)
   6:         accessOrder = classOrder.value();
   7: 
   8:         ...
   9: 
  10:       XmlAccessorType accessorType = 
  11:         ...
  12:         _class.getAnnotation(XmlAccessorType.class);

View Full Code Here
   1: import javax.xml.bind.annotation.XmlAccessorOrder;
   2: import javax.xml.bind.annotation.XmlAccessorType;
   3: import javax.xml.bind.annotation.XmlAnyAttribute;
   4:         ...
   5:     private XmlAccessType getAccessType() {
   6:         XmlAccessorType xat = getClassOrPackageAnnotation(XmlAccessorType.class);
   7:         if(xat!=null)
   8:         ...
   9:             return xat.value();
  10:         else
  11:         ...
  12:         if(xao!=null)
  13:             return xao.value();

View Full Code Here