Package org.apache.axis.types

Examples of org.apache.axis.types.Name


                    new PositiveInteger("12345678901234567890"), true);
    }

    public void testName() throws Exception {
        deserialize("<result xsi:type=\"xsd:Name\">:Braves</result>",
                    new Name(":Braves"),true);
    }
View Full Code Here


                    new PositiveInteger("12345678901234567890"), true);
    }

    public void testName() throws Exception {
        deserialize("<result xsi:type=\"xsd:Name\">:Braves</result>",
                    new Name(":Braves"),true);
    }
View Full Code Here

    /**
     * Run a failure test.  value should be invalid.
     */
    private void runFailTest(String value) throws Exception {
        Name oToken = null;
        try {
            oToken = new Name(value);
        }
        catch (Exception e) { // catch the validation exception
        }
        assertNull(
                "Name validation restriction failed. did not restrict bad value [" +
View Full Code Here

    /**
     * Run a successful test.  value should be valid.
     */
    private void runPassTest(String value) throws Exception {
        Name oToken = null;
        try {
            oToken = new Name(value);
        }
        catch (Exception e) { // catch the validation exception
        }
        assertEquals("Name strings not equal. orig value:" + value, oToken.toString(), value);
    }
View Full Code Here

TOP

Related Classes of org.apache.axis.types.Name

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.