Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
Collections:
Other Resources:
JDK 17 java.xml.crypto.jmod - XML Crypto Module
JDK 17 java.xml.crypto.jmod is the JMOD file for JDK 17 XML (eXtensible Markup Language) Crypto module.
JDK 17 XML Crypto module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.xml.crypto.jmod.
JDK 17 XML Crypto module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 XML Crypto module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.xml.crypto.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/xml/crypto/dsig/spec/XPathType.java
/* * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * $Id: XPathType.java,v 1.4 2005/05/10 16:40:17 mullan Exp $ */ package javax.xml.crypto.dsig.spec; import java.util.Collections; import java.util.HashMap; import java.util.Map; /** * The XML Schema Definition of the <code>XPath</code> element as defined in the * <a href="http://www.w3.org/TR/xmldsig-filter2"> * W3C Recommendation for XML-Signature XPath Filter 2.0</a>: * <pre><code> * <schema xmlns="http://www.w3.org/2001/XMLSchema" * xmlns:xf="http://www.w3.org/2002/06/xmldsig-filter2" * targetNamespace="http://www.w3.org/2002/06/xmldsig-filter2" * version="0.1" elementFormDefault="qualified"> * * <element name="XPath" * type="xf:XPathType"/> * * <complexType name="XPathType"> * <simpleContent> * <extension base="string"> * <attribute name="Filter"> * <simpleType> * <restriction base="string"> * <enumeration value="intersect"/> * <enumeration value="subtract"/> * <enumeration value="union"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </code></pre> * * @author Sean Mullan * @author JSR 105 Expert Group * @since 1.6 * @see XPathFilter2ParameterSpec */ public class XPathType { /** * Represents the filter set operation. */ public static class Filter { private final String operation; private Filter(String operation) { this.operation = operation; } /** * Returns the string form of the operation. * * @return the string form of the operation */ public String toString() { return operation; } /** * The intersect filter operation. */ public static final Filter INTERSECT = new Filter("intersect"); /** * The subtract filter operation. */ public static final Filter SUBTRACT = new Filter("subtract"); /** * The union filter operation. */ public static final Filter UNION = new Filter("union"); } private final String expression; private final Filter filter; private final Map<String,String> nsMap; /** * Creates an <code>XPathType</code> instance with the specified XPath * expression and filter. * * @param expression the XPath expression to be evaluated * @param filter the filter operation ({@link Filter#INTERSECT}, * {@link Filter#SUBTRACT}, or {@link Filter#UNION}) * @throws NullPointerException if <code>expression</code> or * <code>filter</code> is <code>null</code> */ public XPathType(String expression, Filter filter) { if (expression == null) { throw new NullPointerException("expression cannot be null"); } if (filter == null) { throw new NullPointerException("filter cannot be null"); } this.expression = expression; this.filter = filter; this.nsMap = Collections.emptyMap(); } /** * Creates an <code>XPathType</code> instance with the specified XPath * expression, filter, and namespace map. The map is copied to protect * against subsequent modification. * * @param expression the XPath expression to be evaluated * @param filter the filter operation ({@link Filter#INTERSECT}, * {@link Filter#SUBTRACT}, or {@link Filter#UNION}) * @param namespaceMap the map of namespace prefixes. Each key is a * namespace prefix <code>String</code> that maps to a corresponding * namespace URI <code>String</code>. * @throws NullPointerException if <code>expression</code>, * <code>filter</code> or <code>namespaceMap</code> are * <code>null</code> * @throws ClassCastException if any of the map's keys or entries are * not of type <code>String</code> */ public XPathType(String expression, Filter filter, Map<String,String> namespaceMap) { if (expression == null) { throw new NullPointerException("expression cannot be null"); } if (filter == null) { throw new NullPointerException("filter cannot be null"); } if (namespaceMap == null) { throw new NullPointerException("namespaceMap cannot be null"); } this.expression = expression; this.filter = filter; Map<String,String> tempMap = Collections.checkedMap(new HashMap<>(), String.class, String.class); tempMap.putAll(namespaceMap); this.nsMap = Collections.unmodifiableMap(tempMap); } /** * Returns the XPath expression to be evaluated. * * @return the XPath expression to be evaluated */ public String getExpression() { return expression; } /** * Returns the filter operation. * * @return the filter operation */ public Filter getFilter() { return filter; } /** * Returns a map of namespace prefixes. Each key is a namespace prefix * <code>String</code> that maps to a corresponding namespace URI * <code>String</code>. * <p> * This implementation returns an {@link Collections#unmodifiableMap * unmodifiable map}. * * @return a <code>Map</code> of namespace prefixes to namespace URIs * (may be empty, but never <code>null</code>) */ public Map<String,String> getNamespaceMap() { return nsMap; } }
⏎ javax/xml/crypto/dsig/spec/XPathType.java
Or download all of them as a single archive file:
File name: java.xml.crypto-17.0.5-src.zip File size: 555559 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.accessibility.jmod - Accessibility Module
2023-07-01, 14360👍, 0💬
Popular Posts:
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...
JSP(tm) Standard Tag Library 1.0 implementation - Jakarta Taglibs hosts the Standard Taglib 1.0, an ...
commons-net-1.4.1.jar is the JAR file for Apache Commons Net 1.4.1, which implements the client side...
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.5.0-src.zip...
JDK 11 jdk.jshell.jmod is the JMOD file for JDK 11 JShell tool, which can be invoked by the "jshell"...