From b094d6c4bf572654a031ecc4afe675154c886dc5 Mon Sep 17 00:00:00 2001 From: Jing Yu Date: Thu, 22 Jul 2010 14:03:48 -0700 Subject: commit gcc-4.4.3 which is used to build gcc-4.4.3 Android toolchain in master. The source is based on fsf gcc-4.4.3 and contains local patches which are recorded in gcc-4.4.3/README.google. Change-Id: Id8c6d6927df274ae9749196a1cc24dbd9abc9887 --- .../w3c_dom/org/w3c/dom/DOMImplementationList.java | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 gcc-4.4.3/libjava/classpath/external/w3c_dom/org/w3c/dom/DOMImplementationList.java (limited to 'gcc-4.4.3/libjava/classpath/external/w3c_dom/org/w3c/dom/DOMImplementationList.java') diff --git a/gcc-4.4.3/libjava/classpath/external/w3c_dom/org/w3c/dom/DOMImplementationList.java b/gcc-4.4.3/libjava/classpath/external/w3c_dom/org/w3c/dom/DOMImplementationList.java new file mode 100644 index 000000000..18349fdd4 --- /dev/null +++ b/gcc-4.4.3/libjava/classpath/external/w3c_dom/org/w3c/dom/DOMImplementationList.java @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2004 World Wide Web Consortium, + * + * (Massachusetts Institute of Technology, European Research Consortium for + * Informatics and Mathematics, Keio University). All Rights Reserved. This + * work is distributed under the W3C(r) Software License [1] in the hope that + * it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + */ + +package org.w3c.dom; + +/** + * The DOMImplementationList interface provides the abstraction + * of an ordered collection of DOM implementations, without defining or + * constraining how this collection is implemented. The items in the + * DOMImplementationList are accessible via an integral index, + * starting from 0. + *

See also the Document Object Model (DOM) Level 3 Core Specification. + * @since DOM Level 3 + */ +public interface DOMImplementationList { + /** + * Returns the indexth item in the collection. If + * index is greater than or equal to the number of + * DOMImplementations in the list, this returns + * null. + * @param index Index into the collection. + * @return The DOMImplementation at the index + * th position in the DOMImplementationList, or + * null if that is not a valid index. + */ + public DOMImplementation item(int index); + + /** + * The number of DOMImplementations in the list. The range + * of valid child node indices is 0 to length-1 inclusive. + */ + public int getLength(); + +} -- cgit v1.2.3