Source Home >> Java Source 1.6.0 >> com.sun.org.apache.xalan.internal.xsltc.compiler.SourceLoader V 0.09
  • 01/*
  • 02 * Copyright 2001-2004 The Apache Software Foundation.
  • 03 *
  • 04 * Licensed under the Apache License, Version 2.0 (the "License");
  • 05 * you may not use this file except in compliance with the License.
  • 06 * You may obtain a copy of the License at
  • 07 *
  • 08 * http://www.apache.org/licenses/LICENSE-2.0
  • 09 *
  • 10 * Unless required by applicable law or agreed to in writing, software
  • 11 * distributed under the License is distributed on an "AS IS" BASIS,
  • 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • 13 * See the License for the specific language governing permissions and
  • 14 * limitations under the License.
  • 15 */
  • 16/*
  • 17 * $Id: SourceLoader.java,v 1.2.4.1 2005/09/05 09:02:30 pvedula Exp $
  • 18 */
  • 19
  • 20package com.sun.org.apache.xalan.internal.xsltc.compiler;
  • 21
  • 22import org.xml.sax.InputSource;
  • 23
  • 24/**
  • 25 * @author Morten Jorgensen
  • 26 */
  • 27public interface SourceLoader {
  • 28
  • 29 /**
  • 30 * This interface is used to plug external document loaders into XSLTC
  • 31 * (used with the <xsl:include> and <xsl:import> elements.
  • 32 *
  • 33 * @param href The URI of the document to load
  • 34 * @param context The URI of the currently loaded document
  • 35 * @param xsltc The compiler that resuests the document
  • 36 * @return An InputSource with the loaded document
  • 37 */
  • 38 public InputSource loadSource(String href, String context, XSLTC xsltc);
  • 39
  • 40}

文件:SourceLoader.java
包名:com.sun.org.apache.xalan.internal.xsltc.compiler
类名:SourceLoader
继承:
接口: