Examples of AttributeEvent


Examples of org.apache.cayenne.map.event.AttributeEvent

                }
            }
        }

        super.removeAttribute(attrName);
        this.dbAttributeRemoved(new AttributeEvent(this, attr, this, MapEvent.REMOVE));
    }
View Full Code Here

Examples of org.apache.cocoon.template.script.event.AttributeEvent

        super(raw);

        // <import uri="${root}/foo/bar.xml" context="${foo}"/>
        Locator locator = getLocation();
        Iterator iter = raw.getAttributeEvents().iterator();
        AttributeEvent uri = null;
        Subst select = null;
        while (iter.hasNext()) {
            AttributeEvent e = (AttributeEvent) iter.next();
            if (e.getLocalName().equals("uri")) {
                uri = e;
                break;
            }
        }
        if (uri != null) {
View Full Code Here

Examples of org.carrot2.workbench.editors.AttributeEvent

    /*
     *
     */
    public void fireAttributeChanged(String key, Object value)
    {
        final AttributeEvent event = new AttributeEvent(this, key, value);

        for (IAttributeListener listener : listeners)
        {
            listener.valueChanged(event);
        }
View Full Code Here

Examples of org.gephi.data.attributes.api.AttributeEvent

                eventQueue.poll();
                precEvt = evt;
            }

            if (precEvt != null) {
                AttributeEvent event = createEvent(precEvt, eventCompress, eventCompressObjects);
                for (AttributeListener l : listeners.toArray(new AttributeListener[0])) {
                    l.attributesChanged(event);
                }
            }
            rate ++;
View Full Code Here

Examples of org.more.xml.stream.AttributeEvent

            return;
        } else
        //3.处理AttributeEvent
        if (e instanceof AttributeEvent) {
            this.activateStack.createStack();
            AttributeEvent ee = (AttributeEvent) e;
            String prefix = ee.getName().getPrefix();
            prefix = prefix == null ? "" : prefix;
            if (prefix.equals("") == true) {
                prefix = ee.getCurrentElement().getPrefix();
            }
            prefix = prefix == null ? "" : prefix;
            //
            NameSpace ns = this.activateStack.getNameSpace(prefix);
            ns.appendXPath(ee.getElementName(), true);
            this.issueEvent(e, this.activateStack);
            ns.removeXPath();
            this.activateStack.dropStack();
            return;
        } else
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.