286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Licensed to the Apache Software Foundation (ASF) under one or more
286N/A * contributor license agreements. See the NOTICE file distributed with
286N/A * this work for additional information regarding copyright ownership.
286N/A * The ASF licenses this file to You under the Apache License, Version 2.0
286N/A * (the "License"); you may not use this file except in compliance with
286N/A * the License. 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.impl.xs.util;
286N/A
286N/A
286N/Aimport com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar;
286N/Aimport com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource;
286N/Aimport com.sun.org.apache.xerces.internal.xs.XSObject;
286N/A
286N/A/**
286N/A * @xerces.internal
286N/A *
286N/A * @version $Id: XSInputSource.java,v 1.2 2010-10-26 23:01:05 joehw Exp $
286N/A */
286N/Apublic final class XSInputSource extends XMLInputSource {
286N/A
286N/A private SchemaGrammar[] fGrammars;
286N/A private XSObject[] fComponents;
286N/A
286N/A public XSInputSource(SchemaGrammar[] grammars) {
286N/A super(null, null, null);
286N/A fGrammars = grammars;
286N/A fComponents = null;
286N/A }
286N/A
286N/A public XSInputSource(XSObject[] component) {
286N/A super(null, null, null);
286N/A fGrammars = null;
286N/A fComponents = component;
286N/A }
286N/A
286N/A public SchemaGrammar[] getGrammars() {
286N/A return fGrammars;
286N/A }
286N/A
286N/A public void setGrammars(SchemaGrammar[] grammars) {
286N/A fGrammars = grammars;
286N/A }
286N/A
286N/A public XSObject[] getComponents() {
286N/A return fComponents;
286N/A }
286N/A
286N/A public void setComponents(XSObject[] components) {
286N/A fComponents = components;
286N/A }
286N/A}