/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2009, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.xacml.xml.context;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each Java content interface and Java element interface generated in the org.geotoolkit.xacml.xml.context 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.
*
* @module
*/
@XmlRegistry
public class ObjectFactory {
private static final QName _Status_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Status");
private static final QName _Action_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Action");
private static final QName _Decision_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Decision");
private static final QName _Environment_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Environment");
private static final QName _Subject_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Subject");
private static final QName _StatusDetail_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "StatusDetail");
private static final QName _MissingAttrDetail_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "MissingAttributeDetail");
private static final QName _Response_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Response");
private static final QName _ResourceContent_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "ResourceContent");
private static final QName _Resource_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Resource");
private static final QName _Request_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Request");
private static final QName _Attribute_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Attribute");
private static final QName _Result_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Result");
private static final QName _AttributeValue_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "AttributeValue");
private static final QName _StatusCode_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "StatusCode");
private static final QName _StatusMessage_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "StatusMessage");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package:
* org.geotoolkit.xacml.xml.context.
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link EnvironmentType }
*
*/
public EnvironmentType createEnvironmentType() {
return new EnvironmentType();
}
/**
* Create an instance of {@link ResourceContentType }
*
*/
public ResourceContentType createResourceContentType() {
return new ResourceContentType();
}
/**
* Create an instance of {@link ResultType }
*
*/
public ResultType createResultType() {
return new ResultType();
}
/**
* Create an instance of {@link RequestType }
*
*/
public RequestType createRequestType() {
return new RequestType();
}
/**
* Create an instance of {@link ResponseType }
*
*/
public ResponseType createResponseType() {
return new ResponseType();
}
/**
* Create an instance of {@link AttributeValueType }
*
*/
public AttributeValueType createAttributeValueType() {
return new AttributeValueType();
}
/**
* Create an instance of {@link StatusType }
*
*/
public StatusType createStatusType() {
return new StatusType();
}
/**
* Create an instance of {@link SubjectType }
*
*/
public SubjectType createSubjectType() {
return new SubjectType();
}
/**
* Create an instance of {@link AttributeType }
*
*/
public AttributeType createAttributeType() {
return new AttributeType();
}
/**
* Create an instance of {@link ResourceType }
*
*/
public ResourceType createResourceType() {
return new ResourceType();
}
/**
* Create an instance of {@link StatusDetailType }
*
*/
public StatusDetailType createStatusDetailType() {
return new StatusDetailType();
}
/**
* Create an instance of {@link ActionType }
*
*/
public ActionType createActionType() {
return new ActionType();
}
/**
* Create an instance of {@link MissingAttributeDetailType }
*
*/
public MissingAttributeDetailType createMissingAttributeDetailType() {
return new MissingAttributeDetailType();
}
/**
* Create an instance of {@link StatusCodeType }
*
*/
public StatusCodeType createStatusCodeType() {
return new StatusCodeType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link StatusType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Status")
public JAXBElement<StatusType> createStatus(final StatusType value) {
return new JAXBElement<StatusType>(_Status_QNAME, StatusType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ActionType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Action")
public JAXBElement<ActionType> createAction(final ActionType value) {
return new JAXBElement<ActionType>(_Action_QNAME, ActionType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DecisionType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Decision")
public JAXBElement<DecisionType> createDecision(final DecisionType value) {
return new JAXBElement<DecisionType>(_Decision_QNAME, DecisionType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EnvironmentType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Environment")
public JAXBElement<EnvironmentType> createEnvironment(final EnvironmentType value) {
return new JAXBElement<EnvironmentType>(_Environment_QNAME, EnvironmentType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SubjectType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Subject")
public JAXBElement<SubjectType> createSubject(final SubjectType value) {
return new JAXBElement<SubjectType>(_Subject_QNAME, SubjectType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link StatusDetailType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "StatusDetail")
public JAXBElement<StatusDetailType> createStatusDetail(final StatusDetailType value) {
return new JAXBElement<StatusDetailType>(_StatusDetail_QNAME, StatusDetailType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link MissingAttributeDetailType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "MissingAttributeDetail")
public JAXBElement<MissingAttributeDetailType> createMissingAttributeDetail(final MissingAttributeDetailType value) {
return new JAXBElement<MissingAttributeDetailType>(_MissingAttrDetail_QNAME,
MissingAttributeDetailType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResponseType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Response")
public JAXBElement<ResponseType> createResponse(final ResponseType value) {
return new JAXBElement<ResponseType>(_Response_QNAME, ResponseType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResourceContentType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "ResourceContent")
public JAXBElement<ResourceContentType> createResourceContent(final ResourceContentType value) {
return new JAXBElement<ResourceContentType>(_ResourceContent_QNAME, ResourceContentType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResourceType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Resource")
public JAXBElement<ResourceType> createResource(final ResourceType value) {
return new JAXBElement<ResourceType>(_Resource_QNAME, ResourceType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RequestType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Request")
public JAXBElement<RequestType> createRequest(final RequestType value) {
return new JAXBElement<RequestType>(_Request_QNAME, RequestType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AttributeType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Attribute")
public JAXBElement<AttributeType> createAttribute(final AttributeType value) {
return new JAXBElement<AttributeType>(_Attribute_QNAME, AttributeType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResultType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "Result")
public JAXBElement<ResultType> createResult(final ResultType value) {
return new JAXBElement<ResultType>(_Result_QNAME, ResultType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AttributeValueType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "AttributeValue")
public JAXBElement<AttributeValueType> createAttributeValue(final AttributeValueType value) {
return new JAXBElement<AttributeValueType>(_AttributeValue_QNAME, AttributeValueType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link StatusCodeType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "StatusCode")
public JAXBElement<StatusCodeType> createStatusCode(final StatusCodeType value) {
return new JAXBElement<StatusCodeType>(_StatusCode_QNAME, StatusCodeType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", name = "StatusMessage")
public JAXBElement<String> createStatusMessage(final String value) {
return new JAXBElement<String>(_StatusMessage_QNAME, String.class, null, value);
}
}