6
|
1 |
/*
|
|
2 |
* reserved comment block
|
|
3 |
* DO NOT REMOVE OR ALTER!
|
|
4 |
*/
|
|
5 |
/*
|
|
6 |
* Copyright 2001-2004 The Apache Software Foundation.
|
|
7 |
*
|
|
8 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9 |
* you may not use this file except in compliance with the License.
|
|
10 |
* You may obtain a copy of the License at
|
|
11 |
*
|
|
12 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13 |
*
|
|
14 |
* Unless required by applicable law or agreed to in writing, software
|
|
15 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17 |
* See the License for the specific language governing permissions and
|
|
18 |
* limitations under the License.
|
|
19 |
*/
|
|
20 |
/*
|
|
21 |
* $Id: Translet.java,v 1.2.4.1 2005/08/31 10:46:27 pvedula Exp $
|
|
22 |
*/
|
|
23 |
|
|
24 |
package com.sun.org.apache.xalan.internal.xsltc;
|
|
25 |
|
|
26 |
import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator;
|
|
27 |
import com.sun.org.apache.xml.internal.serializer.SerializationHandler;
|
|
28 |
|
|
29 |
/**
|
|
30 |
* @author Jacek Ambroziak
|
|
31 |
* @author Santiago Pericas-Geertsen
|
|
32 |
*/
|
|
33 |
public interface Translet {
|
|
34 |
|
|
35 |
public void transform(DOM document, SerializationHandler handler)
|
|
36 |
throws TransletException;
|
|
37 |
public void transform(DOM document, SerializationHandler[] handlers)
|
|
38 |
throws TransletException;
|
|
39 |
public void transform(DOM document, DTMAxisIterator iterator,
|
|
40 |
SerializationHandler handler)
|
|
41 |
throws TransletException;
|
|
42 |
|
|
43 |
public Object addParameter(String name, Object value);
|
|
44 |
|
|
45 |
public void buildKeys(DOM document, DTMAxisIterator iterator,
|
|
46 |
SerializationHandler handler, int root)
|
|
47 |
throws TransletException;
|
|
48 |
public void addAuxiliaryClass(Class auxClass);
|
|
49 |
public Class getAuxiliaryClass(String className);
|
|
50 |
public String[] getNamesArray();
|
|
51 |
public String[] getUrisArray();
|
|
52 |
public int[] getTypesArray();
|
|
53 |
public String[] getNamespaceArray();
|
12458
|
54 |
public boolean useServicesMechnism();
|
|
55 |
public void setServicesMechnism(boolean flag);
|
|
56 |
|
6
|
57 |
}
|