@@ -0,0 +1,2358 @@
+/**%0D%0A * Copyright (c) 2009-2011, Lukas Eder, lukas.eder@gmail.com%0D%0A * All rights reserved.%0D%0A *%0D%0A * This software is licensed to you under the Apache License, Version 2.0%0D%0A * (the %22License%22); You may obtain a copy of the License at%0D%0A *%0D%0A *   http://www.apache.org/licenses/LICENSE-2.0%0D%0A *%0D%0A * Redistribution and use in source and binary forms, with or without%0D%0A * modification, are permitted provided that the following conditions are met:%0D%0A *%0D%0A * . Redistributions of source code must retain the above copyright notice, this%0D%0A *   list of conditions and the following disclaimer.%0D%0A *%0D%0A * . Redistributions in binary form must reproduce the above copyright notice,%0D%0A *   this list of conditions and the following disclaimer in the documentation%0D%0A *   and/or other materials provided with the distribution.%0D%0A *%0D%0A * . Neither the name %22jOOQ%22 nor the names of its contributors may be%0D%0A *   used to endorse or promote products derived from this software without%0D%0A *   specific prior written permission.%0D%0A *%0D%0A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS %22AS IS%22%0D%0A * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE%0D%0A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE%0D%0A * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE%0D%0A * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR%0D%0A * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF%0D%0A * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS%0D%0A * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN%0D%0A * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)%0D%0A * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE%0D%0A * POSSIBILITY OF SUCH DAMAGE.%0D%0A */%0D%0Apackage org.joox;%0D%0A%0D%0Aimport java.util.Map;%0D%0A%0D%0Aimport org.w3c.dom.Element;%0D%0Aimport org.w3c.dom.NamedNodeMap;%0D%0A%0D%0A/**%0D%0A * A wrapper for a %7B@link NamedNodeMap%7D that is returned when calling%0D%0A * %7B@link Element#getAttributes()%7D on a matched element.%0D%0A * %3Cp%3E%0D%0A * The %3Ccode%3EAttrs%3C/code%3E type is much more convenient than the%0D%0A * %3Ccode%3ENamedNodeMap%3C/code%3E, as it does not provide the unnecessary abstraction%0D%0A * of modelling an attribute as a %7B@link org.w3c.dom.Node%7D%0D%0A *%0D%0A * @author Lukas Eder%0D%0A */%0D%0Apublic interface Attrs extends Map%3CString, String%3E %7B%0D%0A%0D%0A%7D%0D%0A

Add List<Attrs> attrs(), and Attrs attr() to access all attributes at once