Package org.jaxen.expr.iter

Examples of org.jaxen.expr.iter.IterableSelfAxis


public class IterableAxisTest extends TestCase {

    public void testIterableSelfNamedAxis()
      throws JaxenException, SAXException {
       
        IterableAxis axis = new IterableSelfAxis(0);
        try {
            axis.namedAccessIterator(null, null, "name", "pre", "http://www.example.org/");
            fail("should not support operation");
        }
        catch (UnsupportedOperationException ex) {
            assertEquals("Named access unsupported", ex.getMessage());
        }
View Full Code Here


            case Axis.ATTRIBUTE:
                return new IterableAttributeAxis( axis );
            case Axis.NAMESPACE:
                return new IterableNamespaceAxis( axis );
            case Axis.SELF:
                return new IterableSelfAxis( axis );
            case Axis.DESCENDANT_OR_SELF:
                return new IterableDescendantOrSelfAxis( axis );
            case Axis.ANCESTOR_OR_SELF:
                return new IterableAncestorOrSelfAxis( axis );
            case Axis.ANCESTOR:
View Full Code Here

            case Axis.ATTRIBUTE:
                return new IterableAttributeAxis( axis );
            case Axis.NAMESPACE:
                return new IterableNamespaceAxis( axis );
            case Axis.SELF:
                return new IterableSelfAxis( axis );
            case Axis.DESCENDANT_OR_SELF:
                return new IterableDescendantOrSelfAxis( axis );
            case Axis.ANCESTOR_OR_SELF:
                return new IterableAncestorOrSelfAxis( axis );
            case Axis.ANCESTOR:
View Full Code Here

            case Axis.SELF:

            {

                iter = new IterableSelfAxis( axis );

                break;

            }
View Full Code Here

public class IterableAxisTest extends TestCase {

    public void testIterableSelfNamedAxis()
      throws JaxenException, SAXException {
       
        IterableAxis axis = new IterableSelfAxis(0);
        try {
            axis.namedAccessIterator(null, null, "name", "pre", "http://www.example.org/");
            fail("should not support operation");
        }
        catch (UnsupportedOperationException ex) {
            assertEquals("Named access unsupported", ex.getMessage());
        }
View Full Code Here

TOP

Related Classes of org.jaxen.expr.iter.IterableSelfAxis

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.