All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.xml.security.configuration.ObjectFactory Maven / Gradle / Ivy

Go to download

Apache XML Security for Java supports XML-Signature Syntax and Processing, W3C Recommendation 12 February 2002, and XML Encryption Syntax and Processing, W3C Recommendation 10 December 2002. As of version 1.4, the library supports the standard Java API JSR-105: XML Digital Signature APIs.

The newest version!

package org.apache.xml.security.configuration;

import javax.xml.namespace.QName;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlElementDecl;
import jakarta.xml.bind.annotation.XmlRegistry;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the org.apache.xml.security.configuration package. 
 * 

An ObjectFactory allows you to programatically * construct new instances of the Java representation * for XML content. The Java representation of XML * content can consist of schema derived interfaces * and classes representing the binding of schema * type definitions, element declarations and model * groups. Factory methods for each of these are * provided in this class. * */ @XmlRegistry public class ObjectFactory { private final static QName _Configuration_QNAME = new QName("http://www.xmlsecurity.org/NS/configuration", "Configuration"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.xml.security.configuration * */ public ObjectFactory() { } /** * Create an instance of {@link ConfigurationType } * */ public ConfigurationType createConfigurationType() { return new ConfigurationType(); } /** * Create an instance of {@link AlgorithmType } * */ public AlgorithmType createAlgorithmType() { return new AlgorithmType(); } /** * Create an instance of {@link TransformAlgorithmType } * */ public TransformAlgorithmType createTransformAlgorithmType() { return new TransformAlgorithmType(); } /** * Create an instance of {@link ResolverType } * */ public ResolverType createResolverType() { return new ResolverType(); } /** * Create an instance of {@link PropertyType } * */ public PropertyType createPropertyType() { return new PropertyType(); } /** * Create an instance of {@link TransformAlgorithmsType } * */ public TransformAlgorithmsType createTransformAlgorithmsType() { return new TransformAlgorithmsType(); } /** * Create an instance of {@link HandlerType } * */ public HandlerType createHandlerType() { return new HandlerType(); } /** * Create an instance of {@link SecurityHeaderHandlersType } * */ public SecurityHeaderHandlersType createSecurityHeaderHandlersType() { return new SecurityHeaderHandlersType(); } /** * Create an instance of {@link PropertiesType } * */ public PropertiesType createPropertiesType() { return new PropertiesType(); } /** * Create an instance of {@link JCEAlgorithmMappingsType } * */ public JCEAlgorithmMappingsType createJCEAlgorithmMappingsType() { return new JCEAlgorithmMappingsType(); } /** * Create an instance of {@link ResourceResolversType } * */ public ResourceResolversType createResourceResolversType() { return new ResourceResolversType(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ConfigurationType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link ConfigurationType }{@code >} */ @XmlElementDecl(namespace = "http://www.xmlsecurity.org/NS/configuration", name = "Configuration") public JAXBElement createConfiguration(ConfigurationType value) { return new JAXBElement(_Configuration_QNAME, ConfigurationType.class, null, value); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy