286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Copyright 1999-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/A * $Id: IntArrayWrapper.java,v 1.1.4.1 2005/09/08 11:39:32 suresh_emailid Exp $
286N/A */
286N/Apackage com.sun.org.apache.xml.internal.utils.res;
286N/A
286N/A/**
286N/A *
286N/A * It is a mutable object to wrap the int[] used in
286N/A * the contents of the XResourceBundle class
286N/A */
286N/Apublic class IntArrayWrapper {
286N/A private int[] m_int;
286N/A
286N/A public IntArrayWrapper(int[] arg){
286N/A m_int = arg;
286N/A }
286N/A
286N/A public int getInt(int index){
286N/A return m_int[index];
286N/A }
286N/A
286N/A public int getLength(){
286N/A return m_int.length;
286N/A }
286N/A}