< prev index next >

src/com/sun/org/apache/xerces/internal/impl/xs/util/XSInputSource.java

Print this page
rev 2127 : 8048021: Remove @version tag in jaxp repo
Reviewed-by: joehw


  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.xerces.internal.impl.xs.util;
  23 
  24 
  25 import com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar;
  26 import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource;
  27 import com.sun.org.apache.xerces.internal.xs.XSObject;
  28 
  29 /**
  30  * @xerces.internal
  31  *
  32  * @version $Id: XSInputSource.java,v 1.2 2010-10-26 23:01:05 joehw Exp $
  33  */
  34 public final class XSInputSource extends XMLInputSource {
  35 
  36     private SchemaGrammar[] fGrammars;
  37     private XSObject[] fComponents;
  38 
  39     public XSInputSource(SchemaGrammar[] grammars) {
  40         super(null, null, null);
  41         fGrammars = grammars;
  42         fComponents = null;
  43     }
  44 
  45     public XSInputSource(XSObject[] component) {
  46         super(null, null, null);
  47         fGrammars = null;
  48         fComponents = component;
  49     }
  50 
  51     public SchemaGrammar[] getGrammars() {
  52         return fGrammars;


  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.xerces.internal.impl.xs.util;
  23 
  24 
  25 import com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar;
  26 import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource;
  27 import com.sun.org.apache.xerces.internal.xs.XSObject;
  28 
  29 /**
  30  * @xerces.internal
  31  *

  32  */
  33 public final class XSInputSource extends XMLInputSource {
  34 
  35     private SchemaGrammar[] fGrammars;
  36     private XSObject[] fComponents;
  37 
  38     public XSInputSource(SchemaGrammar[] grammars) {
  39         super(null, null, null);
  40         fGrammars = grammars;
  41         fComponents = null;
  42     }
  43 
  44     public XSInputSource(XSObject[] component) {
  45         super(null, null, null);
  46         fGrammars = null;
  47         fComponents = component;
  48     }
  49 
  50     public SchemaGrammar[] getGrammars() {
  51         return fGrammars;
< prev index next >