Skip to content
Snippets Groups Projects
Commit 7ce98dbd authored by Lana Steuck's avatar Lana Steuck
Browse files

Merge

parents a4229e08 c77c24b6
No related branches found
No related tags found
No related merge requests found
Showing
with 196 additions and 80 deletions
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2005 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -385,8 +386,18 @@ public class CoreDOMImplementationImpl ...@@ -385,8 +386,18 @@ public class CoreDOMImplementationImpl
* reference to the default error handler. * reference to the default error handler.
*/ */
public LSSerializer createLSSerializer() { public LSSerializer createLSSerializer() {
try {
Class serializerClass = ObjectFactory.findProviderClass(
"com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl",
ObjectFactory.findClassLoader(), true);
return (LSSerializer) serializerClass.newInstance();
}
catch (Exception e) {}
// Fall back to Xerces' deprecated serializer if
// the Xalan based serializer is unavailable.
return new DOMSerializerImpl(); return new DOMSerializerImpl();
} }
/** /**
* DOM Level 3 LS CR - Experimental. * DOM Level 3 LS CR - Experimental.
* Create a new empty input source. * Create a new empty input source.
......
...@@ -3145,7 +3145,11 @@ public class SAX2DTM2 extends SAX2DTM ...@@ -3145,7 +3145,11 @@ public class SAX2DTM2 extends SAX2DTM
m_data.elementAt(-dataIndex+1)); m_data.elementAt(-dataIndex+1));
} }
} }
else if (DTM.ELEMENT_NODE == type || DTM.DOCUMENT_FRAGMENT_NODE == type else if (DTM.ELEMENT_NODE == type)
{
return getStringValueX(nodeHandle);
}
else if (DTM.DOCUMENT_FRAGMENT_NODE == type
|| DTM.DOCUMENT_NODE == type) || DTM.DOCUMENT_NODE == type)
{ {
return null; return null;
......
...@@ -123,6 +123,11 @@ import org.xml.sax.ext.LexicalHandler; ...@@ -123,6 +123,11 @@ import org.xml.sax.ext.LexicalHandler;
* @author Sunitha Reddy, Sun Microsystems * @author Sunitha Reddy, Sun Microsystems
* @see Serializer * @see Serializer
* @see org.w3c.dom.ls.LSSerializer * @see org.w3c.dom.ls.LSSerializer
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public abstract class BaseMarkupSerializer public abstract class BaseMarkupSerializer
implements ContentHandler, DocumentHandler, LexicalHandler, implements ContentHandler, DocumentHandler, LexicalHandler,
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -35,6 +36,11 @@ import org.w3c.dom.DocumentFragment; ...@@ -35,6 +36,11 @@ import org.w3c.dom.DocumentFragment;
* *
* @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a> * @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public interface DOMSerializer public interface DOMSerializer
{ {
......
...@@ -72,6 +72,9 @@ import org.w3c.dom.ls.LSSerializerFilter; ...@@ -72,6 +72,9 @@ import org.w3c.dom.ls.LSSerializerFilter;
* @author Gopal Sharma, Sun Microsystems * @author Gopal Sharma, Sun Microsystems
* @author Arun Yadav, Sun Microsystems * @author Arun Yadav, Sun Microsystems
* @author Sunitha Reddy, Sun Microsystems * @author Sunitha Reddy, Sun Microsystems
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, replaced by
* {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}
*/ */
public class DOMSerializerImpl implements LSSerializer, DOMConfiguration { public class DOMSerializerImpl implements LSSerializer, DOMConfiguration {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -28,9 +29,13 @@ import java.util.Hashtable; ...@@ -28,9 +29,13 @@ import java.util.Hashtable;
/** /**
* Holds the state of the currently serialized element. * Holds the state of the currently serialized element.
* *
*
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
* @see BaseMarkupSerializer * @see BaseMarkupSerializer
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public class ElementState public class ElementState
{ {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 2000-2002,2004,2005 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -29,6 +30,10 @@ import com.sun.org.apache.xerces.internal.util.EncodingMap; ...@@ -29,6 +30,10 @@ import com.sun.org.apache.xerces.internal.util.EncodingMap;
/** /**
* This class represents an encoding. * This class represents an encoding.
* *
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public class EncodingInfo { public class EncodingInfo {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -36,6 +37,11 @@ import com.sun.org.apache.xerces.internal.util.EncodingMap; ...@@ -36,6 +37,11 @@ import com.sun.org.apache.xerces.internal.util.EncodingMap;
* for each encoding. * for each encoding.
* *
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public class Encodings public class Encodings
{ {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -45,8 +46,12 @@ import java.util.Locale; ...@@ -45,8 +46,12 @@ import java.util.Locale;
* from value to name. A small entities resource is loaded into memory the * from value to name. A small entities resource is loaded into memory the
* first time any of these methods is called for fast and efficient access. * first time any of these methods is called for fast and efficient access.
* *
*
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public final class HTMLdtd public final class HTMLdtd
{ {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -32,6 +33,11 @@ import java.io.IOException; ...@@ -32,6 +33,11 @@ import java.io.IOException;
* wrapping. * wrapping.
* *
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public class IndentPrinter public class IndentPrinter
extends Printer extends Printer
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -25,6 +26,11 @@ package com.sun.org.apache.xml.internal.serialize; ...@@ -25,6 +26,11 @@ package com.sun.org.apache.xml.internal.serialize;
/** /**
* @author <a href="mailto:arkin@intalio..com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio..com">Assaf Arkin</a>
* @see OutputFormat * @see OutputFormat
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public final class LineSeparator public final class LineSeparator
{ {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -25,6 +26,11 @@ package com.sun.org.apache.xml.internal.serialize; ...@@ -25,6 +26,11 @@ package com.sun.org.apache.xml.internal.serialize;
/** /**
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
* @see OutputFormat * @see OutputFormat
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public final class Method public final class Method
{ {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -59,6 +60,11 @@ import org.w3c.dom.html.HTMLDocument; ...@@ -59,6 +60,11 @@ import org.w3c.dom.html.HTMLDocument;
* @see Serializer * @see Serializer
* @see Method * @see Method
* @see LineSeparator * @see LineSeparator
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public class OutputFormat public class OutputFormat
{ {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -40,6 +41,11 @@ import java.io.IOException; ...@@ -40,6 +41,11 @@ import java.io.IOException;
* extending this class. * extending this class.
* *
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public class Printer public class Printer
{ {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -60,6 +61,11 @@ import org.xml.sax.DocumentHandler; ...@@ -60,6 +61,11 @@ import org.xml.sax.DocumentHandler;
* @see ContentHandler * @see ContentHandler
* @see OutputFormat * @see OutputFormat
* @see DOMSerializer * @see DOMSerializer
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public interface Serializer public interface Serializer
{ {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -34,6 +35,11 @@ import java.util.StringTokenizer; ...@@ -34,6 +35,11 @@ import java.util.StringTokenizer;
* *
* @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a> * @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public abstract class SerializerFactory public abstract class SerializerFactory
{ {
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -34,6 +35,11 @@ import com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter; ...@@ -34,6 +35,11 @@ import com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter;
* *
* @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a> * @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
final class SerializerFactoryImpl final class SerializerFactoryImpl
extends SerializerFactory extends SerializerFactory
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* DO NOT REMOVE OR ALTER! * DO NOT REMOVE OR ALTER!
*/ */
/* /*
* Copyright 1999-2002,2004 The Apache Software Foundation. * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* Licensed under the Apache License, Version 2.0 (the "License"); * this work for additional information regarding copyright ownership.
* you may not use this file except in compliance with the License. * The ASF licenses this file to You under the Apache License, Version 2.0
* You may obtain a copy of the License at * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
...@@ -58,6 +59,11 @@ import org.xml.sax.SAXException; ...@@ -58,6 +59,11 @@ import org.xml.sax.SAXException;
* *
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
* @see Serializer * @see Serializer
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public class TextSerializer public class TextSerializer
extends BaseMarkupSerializer extends BaseMarkupSerializer
......
...@@ -73,10 +73,16 @@ import org.xml.sax.SAXException; ...@@ -73,10 +73,16 @@ import org.xml.sax.SAXException;
* boundaries, indent lines, and serialize elements on separate * boundaries, indent lines, and serialize elements on separate
* lines. Line terminators will be regarded as spaces, and * lines. Line terminators will be regarded as spaces, and
* spaces at beginning of line will be stripped. * spaces at beginning of line will be stripped.
*
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
* @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a> * @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a>
* @author Elena Litani IBM * @author Elena Litani IBM
* @see Serializer * @see Serializer
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public class XML11Serializer public class XML11Serializer
extends XMLSerializer { extends XMLSerializer {
......
...@@ -84,10 +84,16 @@ import org.xml.sax.helpers.AttributesImpl; ...@@ -84,10 +84,16 @@ import org.xml.sax.helpers.AttributesImpl;
* boundaries, indent lines, and serialize elements on separate * boundaries, indent lines, and serialize elements on separate
* lines. Line terminators will be regarded as spaces, and * lines. Line terminators will be regarded as spaces, and
* spaces at beginning of line will be stripped. * spaces at beginning of line will be stripped.
*
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
* @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a> * @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a>
* @author Elena Litani IBM * @author Elena Litani IBM
* @see Serializer * @see Serializer
*
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
* is replaced by that of Xalan. Main class
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
*/ */
public class XMLSerializer public class XMLSerializer
extends BaseMarkupSerializer { extends BaseMarkupSerializer {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment