Examples of attributes()


Examples of com.dotcms.repackage.org.dom4j.Element.attributes()

    if (!el1Text.equals(el2Text)) {
      return el1Text.compareTo(el2Text);
    }

    List el1Attrs = el1.attributes();
    List el2Attrs = el2.attributes();

    if (el1Attrs.size() < el2Attrs.size()) {
      return -1;
    }
    else if (el1Attrs.size() > el2Attrs.size()) {
View Full Code Here

Examples of com.foundationdb.server.types.TClass.attributes()

                String name = tClass.name().unqualifiedName();
               
                String attribute1 = null;
                String attribute2 = null;
                String attribute3 = null;
                Iterator<? extends Attribute> attrs = tClass.attributes().iterator();
                if (attrs.hasNext()) {
                    attribute1 = attrs.next().name();
                }
                if (attrs.hasNext()) {
                    attribute2 = attrs.next().name();
View Full Code Here

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

  protected void fixAllowsNullOnSingleTableInheritance() {
    Enumeration entitiesEnum = new NSArray(_entities).objectEnumerator();
    while (entitiesEnum.hasMoreElements()) {
      EOEntity entity = (EOEntity) entitiesEnum.nextElement();
      if (isSingleTableInheritance(entity)) {
        Enumeration attributeEnum = entity.attributes().objectEnumerator();
        while (attributeEnum.hasMoreElements()) {
          EOAttribute attribute = (EOAttribute) attributeEnum.nextElement();
          if (!isInherited(attribute)) {
            attribute.setAllowsNull(true);
          }
View Full Code Here

Examples of condor.classad.RecordExpr.attributes()

            if (!jobType.equalsIgnoreCase("Normal")) {
                throw new Exception(JOBTYPE + " \"" + jobType + "\" not allowed");
            }

            @SuppressWarnings("unchecked")
            Iterator<AttrName> it = (Iterator<AttrName>) jdlExpr.attributes();

            String key = null;
            // String value = null;

            final char[] notAllowed = { ' ', ':', '#', '@', '[', ']', '+', '*', '$', '%', '!', '?', '~' };
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.values.Pattern.attributes()

  }
 
  public ValueMaker getMediaTypeValueMaker() {
    if (mediaType == null) return ValueMaker.NULL;
    Pattern pattern = new Pattern(mediaType);
    if (pattern.attributes().isEmpty()) {
      return new ConstantValueMaker(mediaType);
    }
    return pattern;
  }
 
View Full Code Here

Examples of de.mhus.lib.adb.annotations.DbTable.attributes()

      name = clazz.getSimpleName();
    } else {
      name = table.tableName();
    }
   
    if (table != null &&!MString.isEmptyTrim(table.attributes())) {
      attributes = MConfigFactory.getInstance().toConfig(table.attributes());
    } else {
      attributes = new HashConfig();
    }
   
View Full Code Here

Examples of de.mhus.lib.adb.annotations.DbTable.attributes()

    } else {
      name = table.tableName();
    }
   
    if (table != null &&!MString.isEmptyTrim(table.attributes())) {
      attributes = MConfigFactory.getInstance().toConfig(table.attributes());
    } else {
      attributes = new HashConfig();
    }
   
    tableNameOrg = schema.getTableName(name);
View Full Code Here

Examples of easysm.stores.Class.attributes()

    for (Class c : cSet) {
      cl = c;
    }
    main.doAddCDElement(new AttributeInfo(cIffy, cl, Type.INTEGER));

    assertTrue(cl.attributes().size() == 1);
    for (Attribute a : cl.attributes()) {
      assertTrue(a.name().equals(cIffy));
    }
  }
View Full Code Here

Examples of groovy.util.slurpersupport.Node.attributes()

        NodeChild photosNode = (NodeChild)root.children().getAt(0);
       
        int i = 0;
        for (Iterator<Node> children = photosNode.childNodes(); i < 3 && children.hasNext(); i++) {
            Node photo = children.next();
            Map<String, Object> attributes = photo.attributes();
           
            photos.add(
                new Photo(attributes.get("title").toString(),   
                    new StringBuilder("http://farm")
                        .append(attributes.get("farm"))
View Full Code Here

Examples of groovy.util.slurpersupport.NodeChild.attributes()

        {
            NodeChild node = (NodeChild)receiver;
            String key = keyPath.car();

            // try a string value
            Object attrValue = node.attributes().get(key);
            if (attrValue != null) return attrValue;

            return super.getFieldValuePrimitive(receiver, keyPath);
        }
    }
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.