Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK 11 java.xml.jmod - XML Module
JDK 11 java.xml.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) module.
JDK 11 XML module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.xml.jmod.
JDK 11 XML module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 XML module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.xml.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/org/apache/xml/internal/serializer/dom3/DOM3SerializerImpl.java
/*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.sun.org.apache.xml.internal.serializer.dom3;
import java.io.IOException;
import com.sun.org.apache.xml.internal.serializer.DOM3Serializer;
import com.sun.org.apache.xml.internal.serializer.SerializationHandler;
import com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException;
import org.w3c.dom.DOMErrorHandler;
import org.w3c.dom.Node;
import org.w3c.dom.ls.LSSerializerFilter;
/**
* This class implements the DOM3Serializer interface.
*
* @xsl.usage internal
*/
public final class DOM3SerializerImpl implements DOM3Serializer {
/**
* Private class members
*/
// The DOMErrorHandler
private DOMErrorHandler fErrorHandler;
// A LSSerializerFilter
private LSSerializerFilter fSerializerFilter;
// The end-of-line character sequence
private String fNewLine;
// A SerializationHandler ex. an instance of ToXMLStream
private SerializationHandler fSerializationHandler;
/**
* Constructor
*
* @param handler An instance of the SerializationHandler interface.
*/
public DOM3SerializerImpl(SerializationHandler handler) {
fSerializationHandler = handler;
}
// Public memebers
/**
* Returns a DOMErrorHandler set on the DOM Level 3 Serializer.
*
* This interface is a public API.
*
* @return A Level 3 DOMErrorHandler
*/
public DOMErrorHandler getErrorHandler() {
return fErrorHandler;
}
/**
* Returns a LSSerializerFilter set on the DOM Level 3 Serializer to filter nodes
* during serialization.
*
* This interface is a public API.
*
* @return The Level 3 LSSerializerFilter
*/
public LSSerializerFilter getNodeFilter() {
return fSerializerFilter;
}
/**
* Serializes the Level 3 DOM node by creating an instance of DOM3TreeWalker
* which traverses the DOM tree and invokes handler events to serialize
* the DOM NOde. Throws an exception only if an I/O exception occured
* while serializing.
* This interface is a public API.
*
* @param node the Level 3 DOM node to serialize
* @throws IOException if an I/O exception occured while serializing
*/
public void serializeDOM3(Node node) throws IOException {
try {
DOM3TreeWalker walker = new DOM3TreeWalker(fSerializationHandler,
fErrorHandler, fSerializerFilter, fNewLine);
walker.traverse(node);
} catch (org.xml.sax.SAXException se) {
throw new WrappedRuntimeException(se);
}
}
/**
* Sets a DOMErrorHandler on the DOM Level 3 Serializer.
*
* This interface is a public API.
*
* @param handler the Level 3 DOMErrorHandler
*/
public void setErrorHandler(DOMErrorHandler handler) {
fErrorHandler = handler;
}
/**
* Sets a LSSerializerFilter on the DOM Level 3 Serializer to filter nodes
* during serialization.
*
* This interface is a public API.
*
* @param filter the Level 3 LSSerializerFilter
*/
public void setNodeFilter(LSSerializerFilter filter) {
fSerializerFilter = filter;
}
/**
* Sets a SerializationHandler on the DOM Serializer.
*
* This interface is a public API.
*
* @param handler An instance of SerializationHandler
*/
public void setSerializationHandler(SerializationHandler handler) {
fSerializationHandler = handler;
}
/**
* Sets the new line character to be used during serialization
* @param newLine a String that is the end-of-line character sequence to be
* used in serialization.
*/
public void setNewLine(String newLine) {
fNewLine = newLine;
}
}
⏎ com/sun/org/apache/xml/internal/serializer/dom3/DOM3SerializerImpl.java
Or download all of them as a single archive file:
File name: java.xml-11.0.1-src.zip File size: 4876106 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.xml.crypto.jmod - XML Crypto Module
2020-08-25, ≈693🔥, 0💬
Popular Posts:
JEuclid Source Code Files are provided the JEuclid GitHub Website . You can browse JEuclid Source Co...
JEuclid Source Code Files are provided the JEuclid GitHub Website . You can browse JEuclid Source Co...
What Is poi-scratchpad-5.2.3.jar ?poi-scratchpad-5.2.3.jar is one of the JAR files for Apache POI 5....
JDK 17 jdk.incubator.foreign.jm odis the JMOD file for JDK 17 HTTP Server module. JDK 17 Incubator F...
Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java...