Java 类javax.xml.bind.annotation.XmlAttribute 实例源码

项目:incubator-netbeans    文件:SQLHistoryEntry.java   
@XmlAttribute(name = "date")
protected String getDateXMLVariant() {
    if (this.date == null) {
        return null;
    } else {
        return Long.toString(date.getTime());
    }
}
项目:powsybl-core    文件:SmallSignalSecurityIndex.java   
@XmlAttribute
public String getName() {
    return name;
}
项目:OpenJSharp    文件:AttributePropertyInfoImpl.java   
private QName calcXmlName(XmlAttribute att) {
    String uri;
    String local;

    uri = att.namespace();
    local = att.name();

    // compute the default
    if(local.equals("##default"))
        local = NameConverter.standard.toVariableName(getName());
    if(uri.equals("##default")) {
        XmlSchema xs = reader().getPackageAnnotation( XmlSchema.class, parent.getClazz(), this );
        // JAX-RPC doesn't want the default namespace URI swapping to take effect to
        // local "unqualified" elements. UGLY.
        if(xs!=null) {
            switch(xs.attributeFormDefault()) {
            case QUALIFIED:
                uri = parent.getTypeName().getNamespaceURI();
                if(uri.length()==0)
                    uri = parent.builder.defaultNsUri;
                break;
            case UNQUALIFIED:
            case UNSET:
                uri = "";
            }
        } else
            uri = "";
    }

    return new QName(uri.intern(),local.intern());
}
项目:defense-solutions-proofs-of-concept    文件:Event.java   
@XmlAttribute
public String getAccess() {
    return access;
}
项目:powsybl-core    文件:SmallSignalSecurityIndex.java   
@XmlAttribute
public String getName() {
    return name;
}
项目:mintleaf    文件:ChangeSet.java   
@XmlAttribute
public void setId(String id) {
    this.id = id;
}
项目:openaudible    文件:Rss.java   
@XmlAttribute
public String getVersion() {
    return "2.0";
}
项目:family-tree-xml-parser    文件:Entry.java   
@XmlAttribute
public void setParentName(String parentName) {
  this.parentName = parentName;
}
项目:Luna-Exam-Builder    文件:Question.java   
@XmlAttribute
public String getTitle() {return title;}
项目:ditb    文件:StorageClusterStatusModel.java   
/**
 * @return the current total write requests made to region
 */
@XmlAttribute
public long getWriteRequestsCount() {
  return writeRequestsCount;
}
项目:openaudible    文件:Enclosure.java   
@XmlAttribute
public long getLength() {
    return length;
}
项目:ditb    文件:StorageClusterStatusModel.java   
/**
 * @return The total number of compacting key-values
 */
@XmlAttribute
public long getTotalCompactingKVs() {
  return totalCompactingKVs;
}
项目:ts-benchmark    文件:FunctionParam.java   
@XmlAttribute(name="function-type")
public String getFunctionType() {
    return functionType;
}
项目:ts-benchmark    文件:FunctionParam.java   
@XmlAttribute(name="max")
public double getMax() {
    return max;
}
项目:defense-solutions-proofs-of-concept    文件:Point.java   
@XmlAttribute
public double getLat() {
    return lat;
}
项目:ts-benchmark    文件:FunctionParam.java   
@XmlAttribute(name="cycle")
public long getCycle() {
    return cycle;
}
项目:defense-solutions-proofs-of-concept    文件:Event.java   
@XmlAttribute
@XmlJavaTypeAdapter(DateFormatterAdapter.class)
public Date getStale() {
    return stale;
}
项目:AndroTickler    文件:Service.java   
@XmlAttribute(name="exported",namespace="http://schemas.android.com/apk/res/android")
public void setExp(String exp) {
    this.exp = exp;
}
项目:AndroTickler    文件:Provider.java   
@XmlAttribute(name="permission",namespace="http://schemas.android.com/apk/res/android")
public void setPermission(String permission) {
    this.permission = permission;
}
项目:ditb    文件:ScannerModel.java   
/**
 * @return the number of rows that the scanner to fetch at once
 */
@XmlAttribute
public int getCaching() {
  return caching;
}
项目:AndroTickler    文件:Provider.java   
@XmlAttribute(name="exported",namespace="http://schemas.android.com/apk/res/android")
public void setExported(boolean isExported) {
    this.isExported = isExported;
}
项目:defense-solutions-proofs-of-concept    文件:Point.java   
@XmlAttribute
public double getLon() {
    return lon;
}
项目:AndroTickler    文件:Permission.java   
@XmlAttribute(name="protectionLevel",namespace="http://schemas.android.com/apk/res/android")
public void setProtectionLevel(String protectionLevel) {
    this.protectionLevel = protectionLevel;
}
项目:openaudible    文件:AtomLink.java   
@XmlAttribute
@XmlJavaTypeAdapter(MimeTypeAdapter.class)
public AtomLink setType(final MimeType type) {
    this.type = type;
    return this;
}
项目:AndroTickler    文件:Application.java   
@XmlAttribute(name="debuggable",namespace="http://schemas.android.com/apk/res/android")
public void setDebuggable(boolean isDebuggable) {
    this.isDebuggable = isDebuggable;
}
项目:AndroTickler    文件:Activity.java   
@XmlAttribute(name="exported",namespace="http://schemas.android.com/apk/res/android")
public void setExp(String exp) {
    this.exp = exp;
}
项目:AndroTickler    文件:DataUri.java   
@XmlAttribute(name="scheme",namespace="http://schemas.android.com/apk/res/android")
public void setScheme(String scheme) {
    this.scheme = scheme;
}
项目:openaudible    文件:Category.java   
@XmlAttribute
public String getDomain() {
    return domain;
}
项目:AndroTickler    文件:DataUri.java   
@XmlAttribute(name="port",namespace="http://schemas.android.com/apk/res/android")
public String getPort() {
    return port;
}
项目:defense-solutions-proofs-of-concept    文件:Point.java   
@XmlAttribute
public double getLe() {
    return le;
}
项目:ditb    文件:ScannerModel.java   
/**
 * @return true if HFile blocks should be cached on the servers for this scan, false otherwise
 */
@XmlAttribute
public boolean getCacheBlocks() {
  return cacheBlocks;
}
项目:ditb    文件:StorageClusterStatusModel.java   
/**
 * @return The number of current compacted key-values
 */
@XmlAttribute
public long getCurrentCompactedKVs() {
  return currentCompactedKVs;
}
项目:AndroTickler    文件:DataUri.java   
@XmlAttribute(name="mimeType",namespace="http://schemas.android.com/apk/res/android")
public String getMimeType() {
    return mimeType;
}
项目:ditb    文件:StorageClusterStatusModel.java   
/**
 * @return The current total size of root-level indexes for the region, in KB.
 */
@XmlAttribute
public int getRootIndexSizeKB() {
  return rootIndexSizeKB;
}
项目:ditb    文件:StorageClusterStatusModel.java   
/**
 * @return the current heap size, in MB
 */
@XmlAttribute
public int getHeapSizeMB() {
  return heapSizeMB;
}
项目:AndroTickler    文件:Receiver.java   
@XmlAttribute(name="permission",namespace="http://schemas.android.com/apk/res/android")
public void setPermission(String permission) {
    this.permission = permission;
}
项目:defense-solutions-proofs-of-concept    文件:Point.java   
@XmlAttribute
public double getCe() {
    return ce;
}
项目:oscm    文件:States.java   
@XmlAttribute
public void setClass(String clazz) {
    this.clazz = clazz;
}
项目:oscm    文件:Event.java   
@XmlAttribute
public void setState(String state) {
    this.state = state;
}
项目:oscm    文件:Event.java   
@XmlAttribute
public void setId(String id) {
    this.id = id;
}