drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/MultiStatus.java
public Enumeration getResponses() throws MalformedElementException {

        final Element firstResponse = getFirstChild(root, "response"); //$NON-NLS-1$
        ensureNotNull(Policy.bind("ensure.missingResponseElmt"), firstResponse); //$NON-NLS-1$

        Enumeration e = new Enumeration() {
            Element currentResponse = firstResponse;

            public boolean hasMoreElements() {

                return currentResponse != null;
            }

            public Object nextElement() {

                if (!hasMoreElements())
                    throw new NoSuchElementException();

                ResponseBody responseBody = null;
                try {
                    responseBody = new ResponseBody(currentResponse);
                } catch (MalformedElementException ex) {
                    Assert.isTrue(false, Policy.bind("assert.internalError")); //$NON-NLS-1$
                }

                currentResponse = getTwin(currentResponse, true);

                return responseBody;
            }
        };

        return e;
    }
public Enumeration getResponses() throws MalformedElementException {

        final Element firstResponse = getFirstChild(root, "response"); //$NON-NLS-1$
        ensureNotNull(Policy.bind("ensure.missingResponseElmt"), firstResponse); //$NON-NLS-1$

        Enumeration e = new Enumeration() {
            Element currentResponse = firstResponse;

            public boolean hasMoreElements() {

                return currentResponse != null;
            }

            public Object nextElement() {

                if (!hasMoreElements())
                    throw new NoSuchElementException();

                ResponseBody responseBody = null;
                try {
                    responseBody = new ResponseBody(currentResponse);
                } catch (MalformedElementException ex) {
                    Assert.isTrue(false, Policy.bind("assert.internalError")); //$NON-NLS-1$
                }

                currentResponse = getTwin(currentResponse, true);

                return responseBody;
            }
        };

        return e;
    }
public Enumeration getResponses ( ) throws MalformedElementException { final Element firstResponse = getFirstChild ( root , "response" ) ; //$NON-NLS-1$ ensureNotNull ( Policy . bind ( "ensure.missingResponseElmt" ) , firstResponse ) ; //$NON-NLS-1$ Enumeration e = new Enumeration ( ) { Element currentResponse = firstResponse ; public boolean hasMoreElements ( ) { return currentResponse != null ; } public Object nextElement ( ) { if ( ! hasMoreElements ( ) ) throw new NoSuchElementException ( ) ; ResponseBody responseBody = null ; try { responseBody = new ResponseBody ( currentResponse ) ; } catch ( MalformedElementException ex ) { Assert . isTrue ( false , Policy . bind ( "assert.internalError" ) ) ; //$NON-NLS-1$ } currentResponse = getTwin ( currentResponse , true ) ; return responseBody ; } } ; return e ; }
Returns an <code>Enumeration</code> over this multistatus' responses.

@return an <code>Enumeration</code> of <code>ResponseBody</code>s
@throws MalformedElementException if there is reason to believe that
this editor's underlying element is not well formed
Returns an <code > Enumeration< / code > over this multistatus responses .