Examples of AttributeItem


Examples of com.caucho.relaxng.program.AttributeItem

   */
  public Item createItem(GrammarPattern grammar)
    throws RelaxException
  {
    if (_item == null)
      _item = new AttributeItem(_name.createNameItem());
   
    return _item;
  }
View Full Code Here

Examples of org.cfeclipse.cfml.parser.docitems.AttributeItem

    while(matcher.find())
    {
     
        if (matcher.group(1) != null && matcher.group(2) != null) {
          AttributeItem newAttr;
         
          attributeName = matcher.group(1).trim();
          attributeValue = matcher.group(2).trim();
          attributeValue = attributeValue.substring(1,attributeValue.length()-1);
          newAttr = new AttributeItem(lineNum, offset + matcher.start(1), offset + matcher.end(1),
                          attributeName, attributeValue);
          attributes.add(newAttr);
          //System.out.println(attributeName + " = " +attributeValue);
        }
        else {
View Full Code Here

Examples of org.eclipse.persistence.internal.queries.AttributeItem

        setCurrentMapping(mapping);
        // aggregate descriptors are passed in because they could be part of an inheritance tree
        setCurrentDescriptor(descriptor);
       
        AttributeGroup currentGroupOriginal = null;
        AttributeItem currentItemOriginal = null;
        if(this.usesGroup) {
            currentGroupOriginal = this.currentGroup;
            currentItemOriginal = this.currentItem;
            this.currentGroup = this.currentItem.getGroup();
        }
View Full Code Here

Examples of org.eclipse.persistence.internal.queries.AttributeItem

        setCurrentMapping(mapping);
        setCurrentDescriptor(null);

        if (shouldIterateOnPrimitives()) {// false by default
            AttributeGroup currentGroupOriginal = null;
            AttributeItem currentItemOriginal = null;
            if(this.usesGroup) {
                currentGroupOriginal = this.currentGroup;
                currentItemOriginal = this.currentItem;
                this.currentGroup = this.currentItem.getGroup();
            }
View Full Code Here

Examples of org.eclipse.persistence.internal.queries.AttributeItem

        }
        setCurrentMapping(mapping);
        setCurrentDescriptor(getDescriptorFor(referenceObject));

        AttributeGroup currentGroupOriginal = null;
        AttributeItem currentItemOriginal = null;
        if(this.usesGroup) {
            currentGroupOriginal = this.currentGroup;
            currentItemOriginal = this.currentItem;
            this.currentGroup = this.currentItem.getGroup();
        }
View Full Code Here

Examples of org.eclipse.persistence.internal.queries.AttributeItem

            }
        }
       
        if (this.usesGroup) {
            AttributeGroup currentGroupOriginal = this.currentGroup;
            AttributeItem currentItemOriginal = this.currentItem;
            for (DatabaseMapping mapping : mappings) {
                this.currentItem = this.currentGroup.getItem(mapping.getAttributeName());
                // iterate only over the mappings found in the group
                if (currentItem != null) {
                    mapping.iterate(this);
View Full Code Here

Examples of org.eclipse.persistence.internal.queries.AttributeItem

    /**
     * Subclass may create different types.
     */
    protected AttributeItem newItem(AttributeGroup group, String attrName) {
        return new AttributeItem(group, attrName);
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.queries.AttributeItem

     * @param attrPathOrName
     *            A simple attribute, array or attributes forming a path
     * @param group - an AttributeGroup to be added.
     */
    public void addAttribute(String attributeNameOrPath, AttributeGroup group) {
        AttributeItem item = getItem(convert(attributeNameOrPath), true);
        item.addSubGroup(group);
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.queries.AttributeItem

     * @param attrPathOrName
     *            A simple attribute, array or attributes forming a path
     * @param group - a collection of AttributeGroups to be added.
     */
    public void addAttribute(String attributeNameOrPath, Collection<AttributeGroup> groups) {
        AttributeItem item = getItem(convert(attributeNameOrPath), true);
        item.addGroups(groups);
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.queries.AttributeItem

     *            Map key
     * @param group
     *            - an AttributeGroup to be added.
     */
    public void addAttributeKey(String attributeNameOrPath, AttributeGroup group) {
        AttributeItem item = getItem(convert(attributeNameOrPath), true);
        item.addKeyGroup(group);
    }
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.