1 /*
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
3 */
4 /*
5 * Copyright 2001-2004 The Apache Software Foundation.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19 /*
20 * $Id: Translet.java,v 1.2.4.1 2005/08/31 10:46:27 pvedula Exp $
21 */
22
23 package com.sun.org.apache.xalan.internal.xsltc;
24
25 import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator;
26 import com.sun.org.apache.xml.internal.serializer.SerializationHandler;
27
28 /**
29 * @author Jacek Ambroziak
30 * @author Santiago Pericas-Geertsen
31 */
32 public interface Translet {
33
34 public void transform(DOM document, SerializationHandler handler)
35 throws TransletException;
36 public void transform(DOM document, SerializationHandler[] handlers)
37 throws TransletException;
38 public void transform(DOM document, DTMAxisIterator iterator,
39 SerializationHandler handler)
40 throws TransletException;
|
1 /*
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
3 */
4 /*
5 * Licensed to the Apache Software Foundation (ASF) under one or more
6 * contributor license agreements. See the NOTICE file distributed with
7 * this work for additional information regarding copyright ownership.
8 * The ASF licenses this file to You under the Apache License, Version 2.0
9 * (the "License"); you may not use this file except in compliance with
10 * the License. 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 package com.sun.org.apache.xalan.internal.xsltc;
22
23 import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator;
24 import com.sun.org.apache.xml.internal.serializer.SerializationHandler;
25
26 /**
27 * @author Jacek Ambroziak
28 * @author Santiago Pericas-Geertsen
29 */
30 public interface Translet {
31
32 public void transform(DOM document, SerializationHandler handler)
33 throws TransletException;
34 public void transform(DOM document, SerializationHandler[] handlers)
35 throws TransletException;
36 public void transform(DOM document, DTMAxisIterator iterator,
37 SerializationHandler handler)
38 throws TransletException;
|