Examples of addAttribute()


Examples of com.sun.faces.config.beans.AttributeHolder.addAttribute()

                                           digester.getMatch() +
                                           "} New(" +
                                           top.getAttributeName() +
                                           ")");
            }
            ah.addAttribute(top);
        } else {
            if (digester.getLogger().isDebugEnabled()) {
                digester.getLogger().debug("[AttributeRule]{" +
                                          digester.getMatch() +
                                          "} Merge(" +

Examples of com.sun.java.util.jar.pack.Package.Class.addAttribute()

                    Utils.log.fine("Version "+clsVer+" of "+cls
                                     +" doesn't match package version "
                                     +pkgVer);
                }
                // Note:  Does not add in "natural" order.  (Who cares?)
                cls.addAttribute(a);
            }
        }

        // Decide if we are transmitting a huge resource file:
        for (Iterator i = pkg.files.iterator(); i.hasNext(); ) {

Examples of com.sun.xml.bind.util.AttributesImpl.addAttribute()

                if(v.equals("false") || v.equals("0"))
                    continue;   // skip this attribute
            }
           
            // otherwise just add it.
            a.addAttribute(
                    auri,
                    alocal,
                    atts.getQName(i),
                    atts.getType(i),
                    avalue );

Examples of com.sun.xml.internal.xsom.impl.ForeignAttributesImpl.addAttribute()

        ForeignAttributesImpl impl = new ForeignAttributesImpl(createValidationContext(),copyLocator(),next);

        Attributes atts = getCurrentAttributes();
        for( int i=0; i<atts.getLength(); i++ ) {
            if(atts.getURI(i).length()>0) {
                impl.addAttribute(
                    atts.getURI(i),
                    atts.getLocalName(i),
                    atts.getQName(i),
                    atts.getType(i),
                    atts.getValue(i)

Examples of com.sun.xml.xsom.impl.ForeignAttributesImpl.addAttribute()

        ForeignAttributesImpl impl = new ForeignAttributesImpl(createValidationContext(),copyLocator(),next);

        Attributes atts = getCurrentAttributes();
        for( int i=0; i<atts.getLength(); i++ ) {
            if(atts.getURI(i).length()>0) {
                impl.addAttribute(
                    atts.getURI(i),
                    atts.getLocalName(i),
                    atts.getQName(i),
                    atts.getType(i),
                    atts.getValue(i)

Examples of com.volantis.map.sti.model.Transformation.addAttribute()

            // Rewrite them as-is, since no conversion is needed.
            Transformation transformation = new Transformation();

            transformation.setType("Cropping");

            transformation.addAttribute("top",
                    getParameterValue(ParameterNames.TOP_Y));

            transformation.addAttribute("bottom",
                    getParameterValue(ParameterNames.BOTTOM_Y));

Examples of com.volantis.mcs.wbsax.WBSAXContentHandler.addAttribute()

                }
                   
                // Add the attribute start code
                AttributeStartCode attrStart =
                        context.getAttributeStarts().create(attrName, attrValue);
                contentHandler.addAttribute(attrStart);
                   
                // And figure out how to add the attribute value...
                // If the start code included a prefix
                String prefix = attrStart.getValuePrefix();
                if (prefix != null) {

Examples of com.webobjects.eoaccess.EOEntity.addAttribute()

            }

            attribute.setClassName(type);
          }
        }
        entity.addAttribute(attribute);
      }
      classDescription = new EOEntityClassDescription(entity);
      NSKeyValueCoding.Utility.takeValueForKey(entity, classDescription, "classDescription");
      EOClassDescription.registerClassDescription(classDescription, clazz);
      pojoModel.addEntity(entity);

Examples of com.xmlcalabash.util.TreeWriter.addAttribute()

        tree.startContent();

        for (String name : properties.stringPropertyNames()) {
            String value = properties.getProperty(name);
            tree.addStartElement(c_param);
            tree.addAttribute(_name, name);
            tree.addAttribute(_namespace, "");
            tree.addAttribute(_value, value);
            tree.startContent();
            tree.addEndElement();
        }

Examples of de.fhkn.in.uce.stun.message.Message.addAttribute()

    private void callTarget(final UserData target, final Message connectionRequestFromSource) throws Exception {
        logger.debug("Calling target {}", target.getUserId()); //$NON-NLS-1$
        final Socket toTarget = target.getSocketToUser();
        final Message connectionRequest = MessageStaticFactory.newSTUNMessageInstance(STUNMessageClass.REQUEST,
                STUNMessageMethod.CONNECTION_REQUEST, connectionRequestFromSource.getHeader().getTransactionId());
        connectionRequest.addAttribute(new DirectconnectionAttribute());
        logger.debug("Forwarding connection request to target"); //$NON-NLS-1$
        connectionRequest.writeTo(toTarget.getOutputStream());
    }

    private void sendFailureResponse(final Message message, final String errorReaon, final STUNErrorCode errorCode,
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.