< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/runtime/AbstractTranslet.java

Print this page
rev 1025 : 8023653: [JAXP] xalan inconsistently parses DOMSource and StreamSource
   1 /*
   2  * Copyright (c) 2006, 2015, 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  * $Id: AbstractTranslet.java,v 1.6 2006/06/19 19:49:03 spericas Exp $
  22  */
  23 
  24 package com.sun.org.apache.xalan.internal.xsltc.runtime;
  25 
  26 import com.sun.org.apache.xalan.internal.XalanConstants;
  27 import com.sun.org.apache.xalan.internal.utils.FactoryImpl;
  28 import com.sun.org.apache.xalan.internal.xsltc.DOM;
  29 import com.sun.org.apache.xalan.internal.xsltc.DOMCache;
  30 import com.sun.org.apache.xalan.internal.xsltc.DOMEnhancedForDTM;
  31 import com.sun.org.apache.xalan.internal.xsltc.Translet;
  32 import com.sun.org.apache.xalan.internal.xsltc.TransletException;
  33 import com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter;
  34 import com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex;
  35 import com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory;
  36 import com.sun.org.apache.xml.internal.dtm.DTM;
  37 import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator;
  38 import com.sun.org.apache.xml.internal.serializer.SerializationHandler;
  39 import com.sun.org.apache.xml.internal.serializer.ToStream;
  40 import java.io.BufferedOutputStream;
  41 import java.io.File;
  42 import java.io.FileOutputStream;
  43 import java.text.DecimalFormat;


   1 /*
   2  * Copyright (c) 2006, 2015, 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 package com.sun.org.apache.xalan.internal.xsltc.runtime;
  21 
  22 import com.sun.org.apache.xalan.internal.XalanConstants;
  23 import com.sun.org.apache.xalan.internal.utils.FactoryImpl;
  24 import com.sun.org.apache.xalan.internal.xsltc.DOM;
  25 import com.sun.org.apache.xalan.internal.xsltc.DOMCache;
  26 import com.sun.org.apache.xalan.internal.xsltc.DOMEnhancedForDTM;
  27 import com.sun.org.apache.xalan.internal.xsltc.Translet;
  28 import com.sun.org.apache.xalan.internal.xsltc.TransletException;
  29 import com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter;
  30 import com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex;
  31 import com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory;
  32 import com.sun.org.apache.xml.internal.dtm.DTM;
  33 import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator;
  34 import com.sun.org.apache.xml.internal.serializer.SerializationHandler;
  35 import com.sun.org.apache.xml.internal.serializer.ToStream;
  36 import java.io.BufferedOutputStream;
  37 import java.io.File;
  38 import java.io.FileOutputStream;
  39 import java.text.DecimalFormat;


< prev index next >