Examples of attribute()


Examples of com.sun.xml.bind.v2.schemagen.xmlschema.Schema.attribute()

                for (ArrayInfo<T, C> a : arrays) {
                    writeArray(a,schema);
                    schema._pcdata(newline);
                }
                for (Map.Entry<String,AttributePropertyInfo<T,C>> e : attributeDecls.entrySet()) {
                    TopLevelAttribute a = schema.attribute();
                    a.name(e.getKey());
                    if(e.getValue()==null)
                        writeTypeRef(a,stringType,"type");
                    else
                        writeAttributeTypeRef(e.getValue(),a);
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.schemagen.xmlschema.Schema.attribute()

                for (ArrayInfo<T, C> a : arrays) {
                    writeArray(a,schema);
                    schema._pcdata(newline);
                }
                for (Map.Entry<String,AttributePropertyInfo<T,C>> e : attributeDecls.entrySet()) {
                    TopLevelAttribute a = schema.attribute();
                    a.name(e.getKey());
                    if(e.getValue()==null)
                        writeTypeRef(a,stringType,"type");
                    else
                        writeAttributeTypeRef(e.getValue(),a);
View Full Code Here

Examples of com.trolltech.qt.xml.QDomElement.attribute()

     
      // Go through all "item" nodes
    QDomNodeList anchors = doc.elementsByTagName("item");
    for (int i=0; i<anchors.length(); i++) {
      QDomElement element = anchors.at(i).toElement();
      int x = new Integer(element.attribute("x"));   // x coordinate
      int y = new Integer(element.attribute("y"));   // y coordinate
      int w = new Integer(element.attribute("w"));   // width
      int h = new Integer(element.attribute("h"));   // height
      QDomNodeList children = element.childNodes()// all children ("t" nodes).
     
View Full Code Here

Examples of com.webobjects.directtoweb.D2WContext.attribute()

                throw ERXValidationFactory.defaultFactory().createCustomException(null, propertyKey, value, "QueryValueRequired");
            }

            EOAttribute attribute = null;
            if (ERXValueUtilities.booleanValue(d2wContext.valueForKey("isAttribute"))) {
                attribute = d2wContext.attribute();
            } else {
                EORelationship relationship = d2wContext.relationship();
                if (relationship != null && !(value instanceof EOEnterpriseObject)) {
                    String keyWhenRelationship = (String)d2wContext.valueForKey("keyWhenRelationship");
                    if (keyWhenRelationship != null) {
View Full Code Here

Examples of dcamapi.DCAM_PROPERTYATTR.attribute()

        lSuccess &= lSuccessGetAttribute;

        if (lSuccessGetAttribute)
        {

          final FlagSet<DCAMPROPATTRIBUTE> lFlagSetForAttribute = FlagSet.createFlagSet(lDCAM_PROPERTYATTR.attribute()
                                                                                                          .value(),
                                                                                        DCAMPROPATTRIBUTE.class);

          final FlagSet<DCAMPROPUNIT> lFlagSetForUnit = FlagSet.createFlagSet(lDCAM_PROPERTYATTR.iUnit()
                                                                                                .value(),
View Full Code Here

Examples of es.ipsa.atril.doc.user.Document.attribute()

      for (AccountingAccountDefault d : aDefs) {
        try {
          oAccountingAccounts.seek(oSes, d.getString("account_code"));
        } catch (ElementNotFoundException enfe) {
          Document a = oDms.newDocument(oDtp, p);
          a.attribute("account_code").set(d.getString("account_code"));
          a.attribute("account_desc").set(d.getString("account_desc"));
          a.attribute("account_uuid").set(Gadgets.generateUUID());
          a.attribute("is_active").set("1");
          a.save("");
          oIdx.indexDocument(a);         
View Full Code Here

Examples of fork.lib.bio.anno.genomic.region.DirectionalGenomicRegion.attribute()

    GenomicRegionsBuilder gbout= new GenomicRegionsBuilder();
   
    Iterator<GenomicRegion> it= gb.iterator();
    while(it.hasNext()){
        DirectionalGenomicRegion gr= (DirectionalGenomicRegion)it.next();
        String[] ss= ((BedAttribute)gr.attribute()).getOtherFields().get(0).split("/");
        if(ss.length>0){
            boolean ifas= false;
            for( int i=0; i<ss.length; i++ ){
                String s= ss[i];
                if(gr.isOnForwardStrand()){
View Full Code Here

Examples of fork.lib.math.algebra.elementary.set.continuous.Region.attribute()

        String chr = chrs[k];
        System.out.print(chr+"  ");
        ArrayList<Region> rs= lbb.getLandscape2DForChromosome(chr).getRegions();
        for( int i=1; i<rs.size() ; i++ ){
            Region r= rs.get(i);
            double val= Double.parseDouble(r.attribute().toString());
            int v= (int) (val-thr);
            if(v>0 ){
                bw.write(chr+"\t"+ (int)r.low+"\t"+ ((int)r.high+1)+"\t"+ v+"\n");
            }
        }
View Full Code Here

Examples of htsjdk.variant.variantcontext.GenotypeBuilder.attribute()

        // create the single Genotype with GQ and DP annotations
        final GenotypeBuilder gb = new GenotypeBuilder(sampleName, GATKVariantContextUtils.homozygousAlleleList(block.getRef(),block.getPloidy()));
        gb.noAD().noPL().noAttributes(); // clear all attributes
        gb.GQ(block.getMedianGQ());
        gb.DP(block.getMedianDP());
        gb.attribute(MIN_DP_FORMAT_FIELD, block.getMinDP());
        gb.PL(block.getMinPLs());

        // This annotation is no longer standard
        //gb.attribute(MIN_GQ_FORMAT_FIELD, block.getMinGQ());
View Full Code Here

Examples of htsjdk.variant.variantcontext.VariantContextBuilder.attribute()

        if ( block == null ) return null;

        final VariantContextBuilder vcb = new VariantContextBuilder(block.getStartingVC());
        vcb.attributes(new HashMap<String, Object>(2)); // clear the attributes
        vcb.stop(block.getStop());
        vcb.attribute(VCFConstants.END_KEY, block.getStop());

        // create the single Genotype with GQ and DP annotations
        final GenotypeBuilder gb = new GenotypeBuilder(sampleName, GATKVariantContextUtils.homozygousAlleleList(block.getRef(),block.getPloidy()));
        gb.noAD().noPL().noAttributes(); // clear all attributes
        gb.GQ(block.getMedianGQ());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.