Package org.apache.ws.jaxme.test.misc.wildcards

Examples of org.apache.ws.jaxme.test.misc.wildcards.AnyAttribute


        return sw.toString();
    }

    protected String getMarshalledAnyAttribute() throws JAXBException {
        ObjectFactory objectFactory = new ObjectFactory();
        AnyAttribute anyAttribute = objectFactory.createAnyAttribute();
        anyAttribute.setAnyAttribute(new QName("foo", "bar"), "value 1");
        anyAttribute.setAnyAttribute(new QName("baz"), "value 2");
        return asString(anyAttribute);
    }
View Full Code Here


            }
        }
    }

    public void testUnmarshalAnyAttribute() throws Exception {
        AnyAttribute anyAttribute = (AnyAttribute) getUnmarshalledElement(getMarshalledAnyAttribute());
        WildcardAttribute[] attrs = anyAttribute.getAnyAttributeArray();
        assertEquals(new WildcardAttribute[]{
      new WildcardAttribute(new QName("foo", "bar"), "value 1"),
      new WildcardAttribute(new QName("baz"), "value 2"),
    }, attrs);
    }
View Full Code Here

        return sw.toString();
    }

    protected String getMarshalledAnyAttribute() throws JAXBException {
        ObjectFactory objectFactory = new ObjectFactory();
        AnyAttribute anyAttribute = objectFactory.createAnyAttribute();
        anyAttribute.setAnyAttribute(new QName("foo", "bar"), "value 1");
        anyAttribute.setAnyAttribute(new QName("baz"), "value 2");
        return asString(anyAttribute);
    }
View Full Code Here

            }
        }
    }

    public void testUnmarshalAnyAttribute() throws Exception {
        AnyAttribute anyAttribute = (AnyAttribute) getUnmarshalledElement(getMarshalledAnyAttribute());
        WildcardAttribute[] attrs = anyAttribute.getAnyAttributeArray();
        assertEquals(new WildcardAttribute[]{
      new WildcardAttribute(new QName("foo", "bar"), "value 1"),
      new WildcardAttribute(new QName("baz"), "value 2"),
    }, attrs);
    }
View Full Code Here

        return sw.toString();
    }

    protected String getMarshalledAnyAttribute() throws JAXBException {
        ObjectFactory objectFactory = new ObjectFactory();
        AnyAttribute anyAttribute = objectFactory.createAnyAttribute();
        anyAttribute.setAnyAttribute(new QName("foo", "bar"), "value 1");
        anyAttribute.setAnyAttribute(new QName("baz"), "value 2");
        return asString(anyAttribute);
    }
View Full Code Here

            }
        }
    }

    public void testUnmarshalAnyAttribute() throws Exception {
        AnyAttribute anyAttribute = (AnyAttribute) getUnmarshalledElement(getMarshalledAnyAttribute());
        WildcardAttribute[] attrs = anyAttribute.getAnyAttributeArray();
        assertEquals(new WildcardAttribute[]{
      new WildcardAttribute(new QName("foo", "bar"), "value 1"),
      new WildcardAttribute(new QName("baz"), "value 2"),
    }, attrs);
    }
View Full Code Here

        return sw.toString();
    }

    protected String getMarshalledAnyAttribute() throws JAXBException {
        ObjectFactory objectFactory = new ObjectFactory();
        AnyAttribute anyAttribute = objectFactory.createAnyAttribute();
        anyAttribute.setAnyAttribute(new QName("foo", "bar"), "value 1");
        anyAttribute.setAnyAttribute(new QName("baz"), "value 2");
        return asString(anyAttribute);
    }
View Full Code Here

            }
        }
    }

    public void testUnmarshalAnyAttribute() throws Exception {
        AnyAttribute anyAttribute = (AnyAttribute) getUnmarshalledElement(getMarshalledAnyAttribute());
        WildcardAttribute[] attrs = anyAttribute.getAnyAttributeArray();
        assertEquals(new WildcardAttribute[]{
      new WildcardAttribute(new QName("foo", "bar"), "value 1"),
      new WildcardAttribute(new QName("baz"), "value 2"),
    }, attrs);
    }
View Full Code Here

TOP

Related Classes of org.apache.ws.jaxme.test.misc.wildcards.AnyAttribute

Copyright © 2018 www.massapicom. 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.