Examples of AttributeSetter

  • org.apache.ws.jaxme.xs.parser.AttributeSetter

    The attribute setter is used by the {@link org.apache.ws.jaxme.xs.parser.XsSAXParser}to pass an attributes value to the bean. The main purpose of this interface is the ability to choose a custom attribtue setter.

    The default attribute setter is {@link org.apache.ws.jaxme.xs.parser.impl.AttributeSetterImpl}.

    @author Jochen Wiedmann

  • Examples of com.astamuse.asta4d.render.AttributeSetter

            public AttributesRequire() {
                this.prepareAttributes();
            }

            protected void add(String attr, Object value) {
                attrList.add(new AttributeSetter(attr, value));
            }
    View Full Code Here

    Examples of com.astamuse.asta4d.render.AttributeSetter

                    if (list.isEmpty()) {
                        continue;
                    } else {
                        Transformer<?> t = list.get(0);
                        if (t.getContent() instanceof AttributeSetter) {
                            AttributeSetter setter = (AttributeSetter) t.getContent();
                            @SuppressWarnings("unchecked")
                            Pair<String, Object> data = (Pair<String, Object>) setter.retrieveTestableData();
                            if (data.getKey().equals(attr)) {
                                Object obj = data.getValue();
                                valueList.add(obj);
                            }
                        } else {
    View Full Code Here

    Examples of com.astamuse.asta4d.render.AttributeSetter

                    if (list.isEmpty()) {
                        continue;
                    } else {
                        Transformer<?> t = list.get(0);
                        if (t.getContent() instanceof AttributeSetter) {
                            AttributeSetter setter = (AttributeSetter) t.getContent();
                            @SuppressWarnings("unchecked")
                            Pair<String, Object> data = (Pair<String, Object>) setter.retrieveTestableData();
                            if (data.getKey().equals(attr)) {
                                Object obj = data.getValue();
                                valueList.add(obj);
                            }
                        } else {
    View Full Code Here

    Examples of com.astamuse.asta4d.render.AttributeSetter

            public AttributesRequire() {
                this.prepareAttributes();
            }

            protected void add(String attr, Object value) {
                attrList.add(new AttributeSetter(attr, value));
            }
    View Full Code Here

    Examples of org.apache.ws.jaxme.xs.parser.AttributeSetter

            setNamespaceURI(pNamespaceURI);
            setLocalName(pLocalName);
            if (pAttr != null) {
              for (int i = 0;  i < pAttr.getLength();  i++) {
                try {
                  AttributeSetter attrSetter = getData().getAttributeSetter();
                  attrSetter.setAttribute(pAttr.getQName(i), pAttr.getURI(i),
                                          pAttr.getLocalName(i), pAttr.getValue(i));
                } catch (SAXException e) {
                  throw e;
                } catch (RuntimeException e) {
                  Exception ex = e;
    View Full Code Here

    Examples of org.apache.ws.jaxme.xs.parser.AttributeSetter

            setNamespaceURI(pNamespaceURI);
            setLocalName(pLocalName);
            if (pAttr != null) {
              for (int i = 0;  i < pAttr.getLength();  i++) {
                try {
                  AttributeSetter attrSetter = getData().getAttributeSetter();
                  attrSetter.setAttribute(pAttr.getQName(i), pAttr.getURI(i),
                                          pAttr.getLocalName(i), pAttr.getValue(i));
                } catch (SAXException e) {
                  throw e;
                } catch (RuntimeException e) {
                  Exception ex = e;
    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.