286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Copyright 2003,2004 The Apache Software Foundation.
286N/A *
286N/A * Licensed under the Apache License, Version 2.0 (the "License");
286N/A * you may not use this file except in compliance with the License.
286N/A * You may obtain a copy of the License at
286N/A *
286N/A * http://www.apache.org/licenses/LICENSE-2.0
286N/A *
286N/A * Unless required by applicable law or agreed to in writing, software
286N/A * distributed under the License is distributed on an "AS IS" BASIS,
286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
286N/A * See the License for the specific language governing permissions and
286N/A * limitations under the License.
286N/A */
286N/A
286N/Apackage com.sun.org.apache.xerces.internal.xs;
286N/A
286N/Aimport java.util.List;
286N/A
286N/A/**
286N/A * The <code>StringList</code> is an immutable ordered collection of
286N/A * <code>GenericString</code>.
286N/A */
286N/Apublic interface StringList extends List {
286N/A /**
286N/A * The number of <code>GenericString</code>s in the list. The range of
286N/A * valid child object indices is 0 to <code>length-1</code> inclusive.
286N/A */
286N/A public int getLength();
286N/A
286N/A /**
286N/A * Checks if the <code>GenericString</code> <code>item</code> is a member
286N/A * of this list.
286N/A * @param item <code>GenericString</code> whose presence in this list is
286N/A * to be tested.
286N/A * @return True if this list contains the <code>GenericString</code>
286N/A * <code>item</code>.
286N/A */
286N/A public boolean contains(String item);
286N/A
286N/A /**
286N/A * Returns the <code>index</code>th item in the collection or
286N/A * <code>null</code> if <code>index</code> is greater than or equal to
286N/A * the number of objects in the list. The index starts at 0.
286N/A * @param index index into the collection.
286N/A * @return The <code>GenericString</code> at the <code>index</code>th
286N/A * position in the <code>StringList</code>, or <code>null</code> if
286N/A * the index specified is not valid.
286N/A */
286N/A public String item(int index);
286N/A
286N/A}