[jboss-cvs] JBossAS SVN: r64159 - in projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core: model and 2 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Jul 20 08:46:58 EDT 2007
Author: anil.saldhana at jboss.com
Date: 2007-07-20 08:46:58 -0400 (Fri, 20 Jul 2007)
New Revision: 64159
Added:
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ActionType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/AttributeType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/AttributeValueType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/DecisionType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/EnvironmentType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/MissingAttributeDetailType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ObjectFactory.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/RequestType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResourceContentType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResourceType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResponseType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResultType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusCodeType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusDetailType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/SubjectType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/package-info.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionMatchType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionsType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ApplyType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeAssignmentType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeDesignatorType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeSelectorType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeValueType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/CombinerParameterType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/CombinerParametersType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ConditionType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/DefaultsType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EffectType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentMatchType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentsType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ExpressionType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/FunctionType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/IdReferenceType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObjectFactory.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObligationType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObligationsType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicyCombinerParametersType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicySetCombinerParametersType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicySetType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicyType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourceMatchType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourceType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourcesType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/RuleCombinerParametersType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/RuleType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectAttributeDesignatorType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectMatchType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectsType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/TargetType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/VariableDefinitionType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/VariableReferenceType.java
projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/package-info.java
Log:
JAXB2 types for xacmlv2
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ActionType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ActionType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ActionType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ActionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ActionType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Attribute" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ActionType", propOrder = {
+ "attribute"
+})
+public class ActionType {
+
+ @XmlElement(name = "Attribute")
+ protected List<AttributeType> attribute;
+
+ /**
+ * Gets the value of the attribute property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the attribute property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttribute().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AttributeType }
+ *
+ *
+ */
+ public List<AttributeType> getAttribute() {
+ if (attribute == null) {
+ attribute = new ArrayList<AttributeType>();
+ }
+ return this.attribute;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/AttributeType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/AttributeType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/AttributeType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,161 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for AttributeType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="AttributeType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}AttributeValue" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="AttributeId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="DataType" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="Issuer" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "AttributeType", propOrder = {
+ "attributeValue"
+})
+public class AttributeType {
+
+ @XmlElement(name = "AttributeValue", required = true)
+ protected List<AttributeValueType> attributeValue;
+ @XmlAttribute(name = "AttributeId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String attributeId;
+ @XmlAttribute(name = "DataType", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String dataType;
+ @XmlAttribute(name = "Issuer")
+ protected String issuer;
+
+ /**
+ * Gets the value of the attributeValue property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the attributeValue property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttributeValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AttributeValueType }
+ *
+ *
+ */
+ public List<AttributeValueType> getAttributeValue() {
+ if (attributeValue == null) {
+ attributeValue = new ArrayList<AttributeValueType>();
+ }
+ return this.attributeValue;
+ }
+
+ /**
+ * Gets the value of the attributeId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAttributeId() {
+ return attributeId;
+ }
+
+ /**
+ * Sets the value of the attributeId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAttributeId(String value) {
+ this.attributeId = value;
+ }
+
+ /**
+ * Gets the value of the dataType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDataType() {
+ return dataType;
+ }
+
+ /**
+ * Sets the value of the dataType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDataType(String value) {
+ this.dataType = value;
+ }
+
+ /**
+ * Gets the value of the issuer property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIssuer() {
+ return issuer;
+ }
+
+ /**
+ * Sets the value of the issuer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIssuer(String value) {
+ this.issuer = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/AttributeValueType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/AttributeValueType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/AttributeValueType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,105 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for AttributeValueType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="AttributeValueType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "AttributeValueType", propOrder = {
+ "content"
+})
+public class AttributeValueType {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the content property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link String }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/DecisionType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/DecisionType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/DecisionType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,64 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DecisionType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="DecisionType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="Permit"/>
+ * <enumeration value="Deny"/>
+ * <enumeration value="Indeterminate"/>
+ * <enumeration value="NotApplicable"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "DecisionType")
+ at XmlEnum
+public enum DecisionType {
+
+ @XmlEnumValue("Permit")
+ PERMIT("Permit"),
+ @XmlEnumValue("Deny")
+ DENY("Deny"),
+ @XmlEnumValue("Indeterminate")
+ INDETERMINATE("Indeterminate"),
+ @XmlEnumValue("NotApplicable")
+ NOT_APPLICABLE("NotApplicable");
+ private final String value;
+
+ DecisionType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static DecisionType fromValue(String v) {
+ for (DecisionType c: DecisionType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/EnvironmentType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/EnvironmentType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/EnvironmentType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EnvironmentType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EnvironmentType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Attribute" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EnvironmentType", propOrder = {
+ "attribute"
+})
+public class EnvironmentType {
+
+ @XmlElement(name = "Attribute")
+ protected List<AttributeType> attribute;
+
+ /**
+ * Gets the value of the attribute property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the attribute property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttribute().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AttributeType }
+ *
+ *
+ */
+ public List<AttributeType> getAttribute() {
+ if (attribute == null) {
+ attribute = new ArrayList<AttributeType>();
+ }
+ return this.attribute;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/MissingAttributeDetailType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/MissingAttributeDetailType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/MissingAttributeDetailType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,161 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MissingAttributeDetailType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="MissingAttributeDetailType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}AttributeValue" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="AttributeId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="DataType" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="Issuer" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "MissingAttributeDetailType", propOrder = {
+ "attributeValue"
+})
+public class MissingAttributeDetailType {
+
+ @XmlElement(name = "AttributeValue")
+ protected List<AttributeValueType> attributeValue;
+ @XmlAttribute(name = "AttributeId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String attributeId;
+ @XmlAttribute(name = "DataType", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String dataType;
+ @XmlAttribute(name = "Issuer")
+ protected String issuer;
+
+ /**
+ * Gets the value of the attributeValue property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the attributeValue property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttributeValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AttributeValueType }
+ *
+ *
+ */
+ public List<AttributeValueType> getAttributeValue() {
+ if (attributeValue == null) {
+ attributeValue = new ArrayList<AttributeValueType>();
+ }
+ return this.attributeValue;
+ }
+
+ /**
+ * Gets the value of the attributeId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAttributeId() {
+ return attributeId;
+ }
+
+ /**
+ * Sets the value of the attributeId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAttributeId(String value) {
+ this.attributeId = value;
+ }
+
+ /**
+ * Gets the value of the dataType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDataType() {
+ return dataType;
+ }
+
+ /**
+ * Sets the value of the dataType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDataType(String value) {
+ this.dataType = value;
+ }
+
+ /**
+ * Gets the value of the issuer property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIssuer() {
+ return issuer;
+ }
+
+ /**
+ * Sets the value of the issuer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIssuer(String value) {
+ this.issuer = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ObjectFactory.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ObjectFactory.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ObjectFactory.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,314 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.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 oasis.names.tc.xacml._2_0.context.schema.os package.
+ * <p>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.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Status_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Status");
+ private final static QName _Action_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Action");
+ private final static QName _Decision_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Decision");
+ private final static QName _Environment_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Environment");
+ private final static QName _Subject_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Subject");
+ private final static QName _StatusDetail_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "StatusDetail");
+ private final static QName _MissingAttributeDetail_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "MissingAttributeDetail");
+ private final static QName _Response_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Response");
+ private final static QName _ResourceContent_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "ResourceContent");
+ private final static QName _Resource_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Resource");
+ private final static QName _Request_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Request");
+ private final static QName _Attribute_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Attribute");
+ private final static QName _Result_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "Result");
+ private final static QName _AttributeValue_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "AttributeValue");
+ private final static QName _StatusCode_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:context:schema:os", "StatusCode");
+ private final static 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: oasis.names.tc.xacml._2_0.context.schema.os
+ *
+ */
+ 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(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(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(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(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(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(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(MissingAttributeDetailType value) {
+ return new JAXBElement<MissingAttributeDetailType>(_MissingAttributeDetail_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(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(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(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(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(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(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(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(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(String value) {
+ return new JAXBElement<String>(_StatusMessage_QNAME, String.class, null, value);
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/RequestType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/RequestType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/RequestType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,165 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for RequestType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="RequestType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Subject" maxOccurs="unbounded"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Resource" maxOccurs="unbounded"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Action"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Environment"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "RequestType", propOrder = {
+ "subject",
+ "resource",
+ "action",
+ "environment"
+})
+public class RequestType {
+
+ @XmlElement(name = "Subject", required = true)
+ protected List<SubjectType> subject;
+ @XmlElement(name = "Resource", required = true)
+ protected List<ResourceType> resource;
+ @XmlElement(name = "Action", required = true)
+ protected ActionType action;
+ @XmlElement(name = "Environment", required = true)
+ protected EnvironmentType environment;
+
+ /**
+ * Gets the value of the subject property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the subject property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSubject().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SubjectType }
+ *
+ *
+ */
+ public List<SubjectType> getSubject() {
+ if (subject == null) {
+ subject = new ArrayList<SubjectType>();
+ }
+ return this.subject;
+ }
+
+ /**
+ * Gets the value of the resource property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resource property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResource().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ResourceType }
+ *
+ *
+ */
+ public List<ResourceType> getResource() {
+ if (resource == null) {
+ resource = new ArrayList<ResourceType>();
+ }
+ return this.resource;
+ }
+
+ /**
+ * Gets the value of the action property.
+ *
+ * @return
+ * possible object is
+ * {@link ActionType }
+ *
+ */
+ public ActionType getAction() {
+ return action;
+ }
+
+ /**
+ * Sets the value of the action property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ActionType }
+ *
+ */
+ public void setAction(ActionType value) {
+ this.action = value;
+ }
+
+ /**
+ * Gets the value of the environment property.
+ *
+ * @return
+ * possible object is
+ * {@link EnvironmentType }
+ *
+ */
+ public EnvironmentType getEnvironment() {
+ return environment;
+ }
+
+ /**
+ * Sets the value of the environment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EnvironmentType }
+ *
+ */
+ public void setEnvironment(EnvironmentType value) {
+ this.environment = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResourceContentType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResourceContentType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResourceContentType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,105 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for ResourceContentType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ResourceContentType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ResourceContentType", propOrder = {
+ "content"
+})
+public class ResourceContentType {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the content property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link String }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResourceType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResourceType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResourceType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,104 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ResourceType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ResourceType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}ResourceContent" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Attribute" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ResourceType", propOrder = {
+ "resourceContent",
+ "attribute"
+})
+public class ResourceType {
+
+ @XmlElement(name = "ResourceContent")
+ protected ResourceContentType resourceContent;
+ @XmlElement(name = "Attribute")
+ protected List<AttributeType> attribute;
+
+ /**
+ * Gets the value of the resourceContent property.
+ *
+ * @return
+ * possible object is
+ * {@link ResourceContentType }
+ *
+ */
+ public ResourceContentType getResourceContent() {
+ return resourceContent;
+ }
+
+ /**
+ * Sets the value of the resourceContent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ResourceContentType }
+ *
+ */
+ public void setResourceContent(ResourceContentType value) {
+ this.resourceContent = value;
+ }
+
+ /**
+ * Gets the value of the attribute property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the attribute property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttribute().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AttributeType }
+ *
+ *
+ */
+ public List<AttributeType> getAttribute() {
+ if (attribute == null) {
+ attribute = new ArrayList<AttributeType>();
+ }
+ return this.attribute;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResponseType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResponseType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResponseType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ResponseType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ResponseType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Result" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ResponseType", propOrder = {
+ "result"
+})
+public class ResponseType {
+
+ @XmlElement(name = "Result", required = true)
+ protected List<ResultType> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ResultType }
+ *
+ *
+ */
+ public List<ResultType> getResult() {
+ if (result == null) {
+ result = new ArrayList<ResultType>();
+ }
+ return this.result;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResultType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResultType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/ResultType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,154 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.security.xacml.core.model.policy.ObligationsType;
+
+
+/**
+ * <p>Java class for ResultType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ResultType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Decision"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Status" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Obligations" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ResourceId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ResultType", propOrder = {
+ "decision",
+ "status",
+ "obligations"
+})
+public class ResultType {
+
+ @XmlElement(name = "Decision", required = true)
+ protected DecisionType decision;
+ @XmlElement(name = "Status")
+ protected StatusType status;
+ @XmlElement(name = "Obligations", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os")
+ protected ObligationsType obligations;
+ @XmlAttribute(name = "ResourceId")
+ protected String resourceId;
+
+ /**
+ * Gets the value of the decision property.
+ *
+ * @return
+ * possible object is
+ * {@link DecisionType }
+ *
+ */
+ public DecisionType getDecision() {
+ return decision;
+ }
+
+ /**
+ * Sets the value of the decision property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DecisionType }
+ *
+ */
+ public void setDecision(DecisionType value) {
+ this.decision = value;
+ }
+
+ /**
+ * Gets the value of the status property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusType }
+ *
+ */
+ public StatusType getStatus() {
+ return status;
+ }
+
+ /**
+ * Sets the value of the status property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusType }
+ *
+ */
+ public void setStatus(StatusType value) {
+ this.status = value;
+ }
+
+ /**
+ * Gets the value of the obligations property.
+ *
+ * @return
+ * possible object is
+ * {@link ObligationsType }
+ *
+ */
+ public ObligationsType getObligations() {
+ return obligations;
+ }
+
+ /**
+ * Sets the value of the obligations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ObligationsType }
+ *
+ */
+ public void setObligations(ObligationsType value) {
+ this.obligations = value;
+ }
+
+ /**
+ * Gets the value of the resourceId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getResourceId() {
+ return resourceId;
+ }
+
+ /**
+ * Sets the value of the resourceId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResourceId(String value) {
+ this.resourceId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusCodeType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusCodeType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusCodeType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,99 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for StatusCodeType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="StatusCodeType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}StatusCode" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "StatusCodeType", propOrder = {
+ "statusCode"
+})
+public class StatusCodeType {
+
+ @XmlElement(name = "StatusCode")
+ protected StatusCodeType statusCode;
+ @XmlAttribute(name = "Value", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String value;
+
+ /**
+ * Gets the value of the statusCode property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusCodeType }
+ *
+ */
+ public StatusCodeType getStatusCode() {
+ return statusCode;
+ }
+
+ /**
+ * Sets the value of the statusCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusCodeType }
+ *
+ */
+ public void setStatusCode(StatusCodeType value) {
+ this.statusCode = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusDetailType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusDetailType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusDetailType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,78 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for StatusDetailType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="StatusDetailType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "StatusDetailType", propOrder = {
+ "any"
+})
+public class StatusDetailType {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/StatusType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,125 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for StatusType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="StatusType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}StatusCode"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}StatusMessage" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}StatusDetail" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "StatusType", propOrder = {
+ "statusCode",
+ "statusMessage",
+ "statusDetail"
+})
+public class StatusType {
+
+ @XmlElement(name = "StatusCode", required = true)
+ protected StatusCodeType statusCode;
+ @XmlElement(name = "StatusMessage")
+ protected String statusMessage;
+ @XmlElement(name = "StatusDetail")
+ protected StatusDetailType statusDetail;
+
+ /**
+ * Gets the value of the statusCode property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusCodeType }
+ *
+ */
+ public StatusCodeType getStatusCode() {
+ return statusCode;
+ }
+
+ /**
+ * Sets the value of the statusCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusCodeType }
+ *
+ */
+ public void setStatusCode(StatusCodeType value) {
+ this.statusCode = value;
+ }
+
+ /**
+ * Gets the value of the statusMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStatusMessage() {
+ return statusMessage;
+ }
+
+ /**
+ * Sets the value of the statusMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStatusMessage(String value) {
+ this.statusMessage = value;
+ }
+
+ /**
+ * Gets the value of the statusDetail property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusDetailType }
+ *
+ */
+ public StatusDetailType getStatusDetail() {
+ return statusDetail;
+ }
+
+ /**
+ * Sets the value of the statusDetail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusDetailType }
+ *
+ */
+ public void setStatusDetail(StatusDetailType value) {
+ this.statusDetail = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/SubjectType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/SubjectType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/SubjectType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,110 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.context;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SubjectType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SubjectType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Attribute" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="SubjectCategory" type="{http://www.w3.org/2001/XMLSchema}anyURI" default="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "SubjectType", propOrder = {
+ "attribute"
+})
+public class SubjectType {
+
+ @XmlElement(name = "Attribute")
+ protected List<AttributeType> attribute;
+ @XmlAttribute(name = "SubjectCategory")
+ @XmlSchemaType(name = "anyURI")
+ protected String subjectCategory;
+
+ /**
+ * Gets the value of the attribute property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the attribute property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttribute().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AttributeType }
+ *
+ *
+ */
+ public List<AttributeType> getAttribute() {
+ if (attribute == null) {
+ attribute = new ArrayList<AttributeType>();
+ }
+ return this.attribute;
+ }
+
+ /**
+ * Gets the value of the subjectCategory property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSubjectCategory() {
+ if (subjectCategory == null) {
+ return "urn:oasis:names:tc:xacml:1.0:subject-category:access-subject";
+ } else {
+ return subjectCategory;
+ }
+ }
+
+ /**
+ * Sets the value of the subjectCategory property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSubjectCategory(String value) {
+ this.subjectCategory = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/package-info.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/package-info.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/context/package-info.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.security.xacml.core.model.context;
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionMatchType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionMatchType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionMatchType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,157 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ActionMatchType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ActionMatchType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeValue"/>
+ * <choice>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ActionAttributeDesignator"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeSelector"/>
+ * </choice>
+ * </sequence>
+ * <attribute name="MatchId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ActionMatchType", propOrder = {
+ "attributeValue",
+ "actionAttributeDesignator",
+ "attributeSelector"
+})
+public class ActionMatchType {
+
+ @XmlElement(name = "AttributeValue", required = true)
+ protected AttributeValueType attributeValue;
+ @XmlElement(name = "ActionAttributeDesignator")
+ protected AttributeDesignatorType actionAttributeDesignator;
+ @XmlElement(name = "AttributeSelector")
+ protected AttributeSelectorType attributeSelector;
+ @XmlAttribute(name = "MatchId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String matchId;
+
+ /**
+ * Gets the value of the attributeValue property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeValueType }
+ *
+ */
+ public AttributeValueType getAttributeValue() {
+ return attributeValue;
+ }
+
+ /**
+ * Sets the value of the attributeValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeValueType }
+ *
+ */
+ public void setAttributeValue(AttributeValueType value) {
+ this.attributeValue = value;
+ }
+
+ /**
+ * Gets the value of the actionAttributeDesignator property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeDesignatorType }
+ *
+ */
+ public AttributeDesignatorType getActionAttributeDesignator() {
+ return actionAttributeDesignator;
+ }
+
+ /**
+ * Sets the value of the actionAttributeDesignator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeDesignatorType }
+ *
+ */
+ public void setActionAttributeDesignator(AttributeDesignatorType value) {
+ this.actionAttributeDesignator = value;
+ }
+
+ /**
+ * Gets the value of the attributeSelector property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeSelectorType }
+ *
+ */
+ public AttributeSelectorType getAttributeSelector() {
+ return attributeSelector;
+ }
+
+ /**
+ * Sets the value of the attributeSelector property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeSelectorType }
+ *
+ */
+ public void setAttributeSelector(AttributeSelectorType value) {
+ this.attributeSelector = value;
+ }
+
+ /**
+ * Gets the value of the matchId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMatchId() {
+ return matchId;
+ }
+
+ /**
+ * Sets the value of the matchId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMatchId(String value) {
+ this.matchId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ActionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ActionType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ActionMatch" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ActionType", propOrder = {
+ "actionMatch"
+})
+public class ActionType {
+
+ @XmlElement(name = "ActionMatch", required = true)
+ protected List<ActionMatchType> actionMatch;
+
+ /**
+ * Gets the value of the actionMatch property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the actionMatch property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActionMatch().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ActionMatchType }
+ *
+ *
+ */
+ public List<ActionMatchType> getActionMatch() {
+ if (actionMatch == null) {
+ actionMatch = new ArrayList<ActionMatchType>();
+ }
+ return this.actionMatch;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionsType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionsType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ActionsType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ActionsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ActionsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Action" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ActionsType", propOrder = {
+ "action"
+})
+public class ActionsType {
+
+ @XmlElement(name = "Action", required = true)
+ protected List<ActionType> action;
+
+ /**
+ * Gets the value of the action property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the action property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAction().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ActionType }
+ *
+ *
+ */
+ public List<ActionType> getAction() {
+ if (action == null) {
+ action = new ArrayList<ActionType>();
+ }
+ return this.action;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ApplyType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ApplyType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ApplyType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,118 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ApplyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ApplyType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ExpressionType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Expression" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="FunctionId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ApplyType", propOrder = {
+ "expression"
+})
+public class ApplyType
+ extends ExpressionType
+{
+
+ @XmlElementRef(name = "Expression", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class)
+ protected List<JAXBElement<?>> expression;
+ @XmlAttribute(name = "FunctionId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String functionId;
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the expression property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExpression().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeSelectorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link VariableReferenceType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ExpressionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeValueType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ApplyType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link FunctionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link SubjectAttributeDesignatorType }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<?>> getExpression() {
+ if (expression == null) {
+ expression = new ArrayList<JAXBElement<?>>();
+ }
+ return this.expression;
+ }
+
+ /**
+ * Gets the value of the functionId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFunctionId() {
+ return functionId;
+ }
+
+ /**
+ * Sets the value of the functionId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFunctionId(String value) {
+ this.functionId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeAssignmentType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeAssignmentType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeAssignmentType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,69 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for AttributeAssignmentType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="AttributeAssignmentType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeValueType">
+ * <attribute name="AttributeId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "AttributeAssignmentType")
+public class AttributeAssignmentType
+ extends AttributeValueType
+{
+
+ @XmlAttribute(name = "AttributeId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String attributeId;
+
+ /**
+ * Gets the value of the attributeId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAttributeId() {
+ return attributeId;
+ }
+
+ /**
+ * Sets the value of the attributeId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAttributeId(String value) {
+ this.attributeId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeDesignatorType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeDesignatorType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeDesignatorType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,155 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for AttributeDesignatorType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="AttributeDesignatorType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ExpressionType">
+ * <attribute name="AttributeId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="DataType" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="Issuer" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="MustBePresent" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "AttributeDesignatorType")
+public class AttributeDesignatorType
+ extends ExpressionType
+{
+
+ @XmlAttribute(name = "AttributeId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String attributeId;
+ @XmlAttribute(name = "DataType", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String dataType;
+ @XmlAttribute(name = "Issuer")
+ protected String issuer;
+ @XmlAttribute(name = "MustBePresent")
+ protected Boolean mustBePresent;
+
+ /**
+ * Gets the value of the attributeId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAttributeId() {
+ return attributeId;
+ }
+
+ /**
+ * Sets the value of the attributeId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAttributeId(String value) {
+ this.attributeId = value;
+ }
+
+ /**
+ * Gets the value of the dataType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDataType() {
+ return dataType;
+ }
+
+ /**
+ * Sets the value of the dataType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDataType(String value) {
+ this.dataType = value;
+ }
+
+ /**
+ * Gets the value of the issuer property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIssuer() {
+ return issuer;
+ }
+
+ /**
+ * Sets the value of the issuer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIssuer(String value) {
+ this.issuer = value;
+ }
+
+ /**
+ * Gets the value of the mustBePresent property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isMustBePresent() {
+ if (mustBePresent == null) {
+ return false;
+ } else {
+ return mustBePresent;
+ }
+ }
+
+ /**
+ * Sets the value of the mustBePresent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setMustBePresent(Boolean value) {
+ this.mustBePresent = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeSelectorType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeSelectorType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeSelectorType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,127 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for AttributeSelectorType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="AttributeSelectorType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ExpressionType">
+ * <attribute name="RequestContextPath" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="DataType" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="MustBePresent" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "AttributeSelectorType")
+public class AttributeSelectorType
+ extends ExpressionType
+{
+
+ @XmlAttribute(name = "RequestContextPath", required = true)
+ protected String requestContextPath;
+ @XmlAttribute(name = "DataType", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String dataType;
+ @XmlAttribute(name = "MustBePresent")
+ protected Boolean mustBePresent;
+
+ /**
+ * Gets the value of the requestContextPath property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRequestContextPath() {
+ return requestContextPath;
+ }
+
+ /**
+ * Sets the value of the requestContextPath property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRequestContextPath(String value) {
+ this.requestContextPath = value;
+ }
+
+ /**
+ * Gets the value of the dataType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDataType() {
+ return dataType;
+ }
+
+ /**
+ * Sets the value of the dataType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDataType(String value) {
+ this.dataType = value;
+ }
+
+ /**
+ * Gets the value of the mustBePresent property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isMustBePresent() {
+ if (mustBePresent == null) {
+ return false;
+ } else {
+ return mustBePresent;
+ }
+ }
+
+ /**
+ * Sets the value of the mustBePresent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setMustBePresent(Boolean value) {
+ this.mustBePresent = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeValueType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeValueType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/AttributeValueType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,135 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for AttributeValueType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="AttributeValueType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ExpressionType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="DataType" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "AttributeValueType", propOrder = {
+ "content"
+})
+public class AttributeValueType {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute(name = "DataType", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String dataType;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the content property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link String }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the dataType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDataType() {
+ return dataType;
+ }
+
+ /**
+ * Sets the value of the dataType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDataType(String value) {
+ this.dataType = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/CombinerParameterType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/CombinerParameterType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/CombinerParameterType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,97 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for CombinerParameterType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="CombinerParameterType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeValue"/>
+ * </sequence>
+ * <attribute name="ParameterName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "CombinerParameterType", propOrder = {
+ "attributeValue"
+})
+public class CombinerParameterType {
+
+ @XmlElement(name = "AttributeValue", required = true)
+ protected AttributeValueType attributeValue;
+ @XmlAttribute(name = "ParameterName", required = true)
+ protected String parameterName;
+
+ /**
+ * Gets the value of the attributeValue property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeValueType }
+ *
+ */
+ public AttributeValueType getAttributeValue() {
+ return attributeValue;
+ }
+
+ /**
+ * Sets the value of the attributeValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeValueType }
+ *
+ */
+ public void setAttributeValue(AttributeValueType value) {
+ this.attributeValue = value;
+ }
+
+ /**
+ * Gets the value of the parameterName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getParameterName() {
+ return parameterName;
+ }
+
+ /**
+ * Sets the value of the parameterName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setParameterName(String value) {
+ this.parameterName = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/CombinerParametersType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/CombinerParametersType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/CombinerParametersType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for CombinerParametersType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="CombinerParametersType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}CombinerParameter" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "CombinerParametersType", propOrder = {
+ "combinerParameter"
+})
+public class CombinerParametersType {
+
+ @XmlElement(name = "CombinerParameter")
+ protected List<CombinerParameterType> combinerParameter;
+
+ /**
+ * Gets the value of the combinerParameter property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the combinerParameter property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCombinerParameter().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CombinerParameterType }
+ *
+ *
+ */
+ public List<CombinerParameterType> getCombinerParameter() {
+ if (combinerParameter == null) {
+ combinerParameter = new ArrayList<CombinerParameterType>();
+ }
+ return this.combinerParameter;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ConditionType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ConditionType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ConditionType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,88 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ConditionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ConditionType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Expression"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ConditionType", propOrder = {
+ "expression"
+})
+public class ConditionType {
+
+ @XmlElementRef(name = "Expression", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class)
+ protected JAXBElement<?> expression;
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeSelectorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link VariableReferenceType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ExpressionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeValueType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ApplyType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link FunctionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link SubjectAttributeDesignatorType }{@code >}
+ *
+ */
+ public JAXBElement<?> getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeSelectorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link VariableReferenceType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ExpressionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeValueType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ApplyType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link FunctionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link SubjectAttributeDesignatorType }{@code >}
+ *
+ */
+ public void setExpression(JAXBElement<?> value) {
+ this.expression = ((JAXBElement<?> ) value);
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/DefaultsType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/DefaultsType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/DefaultsType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,73 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DefaultsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="DefaultsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}XPathVersion"/>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "DefaultsType", propOrder = {
+ "xPathVersion"
+})
+public class DefaultsType {
+
+ @XmlElement(name = "XPathVersion")
+ @XmlSchemaType(name = "anyURI")
+ protected String xPathVersion;
+
+ /**
+ * Gets the value of the xPathVersion property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getXPathVersion() {
+ return xPathVersion;
+ }
+
+ /**
+ * Sets the value of the xPathVersion property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setXPathVersion(String value) {
+ this.xPathVersion = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EffectType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EffectType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EffectType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,58 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EffectType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="EffectType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="Permit"/>
+ * <enumeration value="Deny"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "EffectType")
+ at XmlEnum
+public enum EffectType {
+
+ @XmlEnumValue("Permit")
+ PERMIT("Permit"),
+ @XmlEnumValue("Deny")
+ DENY("Deny");
+ private final String value;
+
+ EffectType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EffectType fromValue(String v) {
+ for (EffectType c: EffectType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentMatchType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentMatchType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentMatchType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,157 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EnvironmentMatchType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EnvironmentMatchType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeValue"/>
+ * <choice>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}EnvironmentAttributeDesignator"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeSelector"/>
+ * </choice>
+ * </sequence>
+ * <attribute name="MatchId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EnvironmentMatchType", propOrder = {
+ "attributeValue",
+ "environmentAttributeDesignator",
+ "attributeSelector"
+})
+public class EnvironmentMatchType {
+
+ @XmlElement(name = "AttributeValue", required = true)
+ protected AttributeValueType attributeValue;
+ @XmlElement(name = "EnvironmentAttributeDesignator")
+ protected AttributeDesignatorType environmentAttributeDesignator;
+ @XmlElement(name = "AttributeSelector")
+ protected AttributeSelectorType attributeSelector;
+ @XmlAttribute(name = "MatchId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String matchId;
+
+ /**
+ * Gets the value of the attributeValue property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeValueType }
+ *
+ */
+ public AttributeValueType getAttributeValue() {
+ return attributeValue;
+ }
+
+ /**
+ * Sets the value of the attributeValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeValueType }
+ *
+ */
+ public void setAttributeValue(AttributeValueType value) {
+ this.attributeValue = value;
+ }
+
+ /**
+ * Gets the value of the environmentAttributeDesignator property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeDesignatorType }
+ *
+ */
+ public AttributeDesignatorType getEnvironmentAttributeDesignator() {
+ return environmentAttributeDesignator;
+ }
+
+ /**
+ * Sets the value of the environmentAttributeDesignator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeDesignatorType }
+ *
+ */
+ public void setEnvironmentAttributeDesignator(AttributeDesignatorType value) {
+ this.environmentAttributeDesignator = value;
+ }
+
+ /**
+ * Gets the value of the attributeSelector property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeSelectorType }
+ *
+ */
+ public AttributeSelectorType getAttributeSelector() {
+ return attributeSelector;
+ }
+
+ /**
+ * Sets the value of the attributeSelector property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeSelectorType }
+ *
+ */
+ public void setAttributeSelector(AttributeSelectorType value) {
+ this.attributeSelector = value;
+ }
+
+ /**
+ * Gets the value of the matchId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMatchId() {
+ return matchId;
+ }
+
+ /**
+ * Sets the value of the matchId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMatchId(String value) {
+ this.matchId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EnvironmentType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EnvironmentType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}EnvironmentMatch" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EnvironmentType", propOrder = {
+ "environmentMatch"
+})
+public class EnvironmentType {
+
+ @XmlElement(name = "EnvironmentMatch", required = true)
+ protected List<EnvironmentMatchType> environmentMatch;
+
+ /**
+ * Gets the value of the environmentMatch property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the environmentMatch property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEnvironmentMatch().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EnvironmentMatchType }
+ *
+ *
+ */
+ public List<EnvironmentMatchType> getEnvironmentMatch() {
+ if (environmentMatch == null) {
+ environmentMatch = new ArrayList<EnvironmentMatchType>();
+ }
+ return this.environmentMatch;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentsType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentsType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/EnvironmentsType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EnvironmentsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EnvironmentsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Environment" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EnvironmentsType", propOrder = {
+ "environment"
+})
+public class EnvironmentsType {
+
+ @XmlElement(name = "Environment", required = true)
+ protected List<EnvironmentType> environment;
+
+ /**
+ * Gets the value of the environment property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the environment property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEnvironment().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EnvironmentType }
+ *
+ *
+ */
+ public List<EnvironmentType> getEnvironment() {
+ if (environment == null) {
+ environment = new ArrayList<EnvironmentType>();
+ }
+ return this.environment;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ExpressionType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ExpressionType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ExpressionType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,37 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ExpressionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ExpressionType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ExpressionType")
+public abstract class ExpressionType {
+
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/FunctionType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/FunctionType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/FunctionType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,69 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for FunctionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="FunctionType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ExpressionType">
+ * <attribute name="FunctionId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "FunctionType")
+public class FunctionType
+ extends ExpressionType
+{
+
+ @XmlAttribute(name = "FunctionId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String functionId;
+
+ /**
+ * Gets the value of the functionId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFunctionId() {
+ return functionId;
+ }
+
+ /**
+ * Sets the value of the functionId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFunctionId(String value) {
+ this.functionId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/IdReferenceType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/IdReferenceType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/IdReferenceType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,150 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * <p>Java class for IdReferenceType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="IdReferenceType">
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
+ * <attribute name="Version" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VersionMatchType" />
+ * <attribute name="EarliestVersion" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VersionMatchType" />
+ * <attribute name="LatestVersion" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VersionMatchType" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "IdReferenceType", propOrder = {
+ "value"
+})
+public class IdReferenceType {
+
+ @XmlValue
+ @XmlSchemaType(name = "anyURI")
+ protected String value;
+ @XmlAttribute(name = "Version")
+ protected String version;
+ @XmlAttribute(name = "EarliestVersion")
+ protected String earliestVersion;
+ @XmlAttribute(name = "LatestVersion")
+ protected String latestVersion;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the earliestVersion property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEarliestVersion() {
+ return earliestVersion;
+ }
+
+ /**
+ * Sets the value of the earliestVersion property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEarliestVersion(String value) {
+ this.earliestVersion = value;
+ }
+
+ /**
+ * Gets the value of the latestVersion property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLatestVersion() {
+ return latestVersion;
+ }
+
+ /**
+ * Sets the value of the latestVersion property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLatestVersion(String value) {
+ this.latestVersion = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObjectFactory.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObjectFactory.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObjectFactory.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,742 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+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 oasis.names.tc.xacml._2_0.policy.schema.os package.
+ * <p>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.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _PolicySetCombinerParameters_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "PolicySetCombinerParameters");
+ private final static QName _Obligations_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Obligations");
+ private final static QName _RuleCombinerParameters_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "RuleCombinerParameters");
+ private final static QName _AttributeValue_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "AttributeValue");
+ private final static QName _VariableDefinition_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "VariableDefinition");
+ private final static QName _Apply_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Apply");
+ private final static QName _Environments_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Environments");
+ private final static QName _SubjectMatch_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "SubjectMatch");
+ private final static QName _ResourceMatch_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "ResourceMatch");
+ private final static QName _ActionAttributeDesignator_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "ActionAttributeDesignator");
+ private final static QName _PolicyCombinerParameters_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "PolicyCombinerParameters");
+ private final static QName _Obligation_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Obligation");
+ private final static QName _ResourceAttributeDesignator_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "ResourceAttributeDesignator");
+ private final static QName _Function_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Function");
+ private final static QName _EnvironmentAttributeDesignator_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "EnvironmentAttributeDesignator");
+ private final static QName _VariableReference_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "VariableReference");
+ private final static QName _AttributeAssignment_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "AttributeAssignment");
+ private final static QName _Resource_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Resource");
+ private final static QName _Condition_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Condition");
+ private final static QName _PolicyDefaults_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "PolicyDefaults");
+ private final static QName _Rule_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Rule");
+ private final static QName _Resources_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Resources");
+ private final static QName _Policy_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Policy");
+ private final static QName _Target_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Target");
+ private final static QName _Subject_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Subject");
+ private final static QName _Subjects_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Subjects");
+ private final static QName _PolicySetIdReference_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "PolicySetIdReference");
+ private final static QName _PolicySetDefaults_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "PolicySetDefaults");
+ private final static QName _XPathVersion_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "XPathVersion");
+ private final static QName _PolicyIdReference_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "PolicyIdReference");
+ private final static QName _CombinerParameters_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "CombinerParameters");
+ private final static QName _EnvironmentMatch_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "EnvironmentMatch");
+ private final static QName _Environment_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Environment");
+ private final static QName _Actions_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Actions");
+ private final static QName _Action_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Action");
+ private final static QName _ActionMatch_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "ActionMatch");
+ private final static QName _AttributeSelector_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "AttributeSelector");
+ private final static QName _Description_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Description");
+ private final static QName _PolicySet_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "PolicySet");
+ private final static QName _SubjectAttributeDesignator_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "SubjectAttributeDesignator");
+ private final static QName _Expression_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "Expression");
+ private final static QName _CombinerParameter_QNAME = new QName("urn:oasis:names:tc:xacml:2.0:policy:schema:os", "CombinerParameter");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: oasis.names.tc.xacml._2_0.policy.schema.os
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link EnvironmentMatchType }
+ *
+ */
+ public EnvironmentMatchType createEnvironmentMatchType() {
+ return new EnvironmentMatchType();
+ }
+
+ /**
+ * Create an instance of {@link AttributeDesignatorType }
+ *
+ */
+ public AttributeDesignatorType createAttributeDesignatorType() {
+ return new AttributeDesignatorType();
+ }
+
+ /**
+ * Create an instance of {@link AttributeAssignmentType }
+ *
+ */
+ public AttributeAssignmentType createAttributeAssignmentType() {
+ return new AttributeAssignmentType();
+ }
+
+ /**
+ * Create an instance of {@link PolicyCombinerParametersType }
+ *
+ */
+ public PolicyCombinerParametersType createPolicyCombinerParametersType() {
+ return new PolicyCombinerParametersType();
+ }
+
+ /**
+ * Create an instance of {@link PolicySetType }
+ *
+ */
+ public PolicySetType createPolicySetType() {
+ return new PolicySetType();
+ }
+
+ /**
+ * Create an instance of {@link EnvironmentType }
+ *
+ */
+ public EnvironmentType createEnvironmentType() {
+ return new EnvironmentType();
+ }
+
+ /**
+ * Create an instance of {@link ActionsType }
+ *
+ */
+ public ActionsType createActionsType() {
+ return new ActionsType();
+ }
+
+ /**
+ * Create an instance of {@link ActionMatchType }
+ *
+ */
+ public ActionMatchType createActionMatchType() {
+ return new ActionMatchType();
+ }
+
+ /**
+ * Create an instance of {@link ActionType }
+ *
+ */
+ public ActionType createActionType() {
+ return new ActionType();
+ }
+
+ /**
+ * Create an instance of {@link CombinerParametersType }
+ *
+ */
+ public CombinerParametersType createCombinerParametersType() {
+ return new CombinerParametersType();
+ }
+
+ /**
+ * Create an instance of {@link ConditionType }
+ *
+ */
+ public ConditionType createConditionType() {
+ return new ConditionType();
+ }
+
+ /**
+ * Create an instance of {@link EnvironmentsType }
+ *
+ */
+ public EnvironmentsType createEnvironmentsType() {
+ return new EnvironmentsType();
+ }
+
+ /**
+ * Create an instance of {@link SubjectsType }
+ *
+ */
+ public SubjectsType createSubjectsType() {
+ return new SubjectsType();
+ }
+
+ /**
+ * Create an instance of {@link FunctionType }
+ *
+ */
+ public FunctionType createFunctionType() {
+ return new FunctionType();
+ }
+
+ /**
+ * Create an instance of {@link RuleType }
+ *
+ */
+ public RuleType createRuleType() {
+ return new RuleType();
+ }
+
+ /**
+ * Create an instance of {@link AttributeSelectorType }
+ *
+ */
+ public AttributeSelectorType createAttributeSelectorType() {
+ return new AttributeSelectorType();
+ }
+
+ /**
+ * Create an instance of {@link AttributeValueType }
+ *
+ */
+ public AttributeValueType createAttributeValueType() {
+ return new AttributeValueType();
+ }
+
+ /**
+ * Create an instance of {@link ObligationType }
+ *
+ */
+ public ObligationType createObligationType() {
+ return new ObligationType();
+ }
+
+ /**
+ * Create an instance of {@link VariableReferenceType }
+ *
+ */
+ public VariableReferenceType createVariableReferenceType() {
+ return new VariableReferenceType();
+ }
+
+ /**
+ * Create an instance of {@link PolicyType }
+ *
+ */
+ public PolicyType createPolicyType() {
+ return new PolicyType();
+ }
+
+ /**
+ * Create an instance of {@link SubjectType }
+ *
+ */
+ public SubjectType createSubjectType() {
+ return new SubjectType();
+ }
+
+ /**
+ * Create an instance of {@link PolicySetCombinerParametersType }
+ *
+ */
+ public PolicySetCombinerParametersType createPolicySetCombinerParametersType() {
+ return new PolicySetCombinerParametersType();
+ }
+
+ /**
+ * Create an instance of {@link RuleCombinerParametersType }
+ *
+ */
+ public RuleCombinerParametersType createRuleCombinerParametersType() {
+ return new RuleCombinerParametersType();
+ }
+
+ /**
+ * Create an instance of {@link ResourceType }
+ *
+ */
+ public ResourceType createResourceType() {
+ return new ResourceType();
+ }
+
+ /**
+ * Create an instance of {@link VariableDefinitionType }
+ *
+ */
+ public VariableDefinitionType createVariableDefinitionType() {
+ return new VariableDefinitionType();
+ }
+
+ /**
+ * Create an instance of {@link DefaultsType }
+ *
+ */
+ public DefaultsType createDefaultsType() {
+ return new DefaultsType();
+ }
+
+ /**
+ * Create an instance of {@link ObligationsType }
+ *
+ */
+ public ObligationsType createObligationsType() {
+ return new ObligationsType();
+ }
+
+ /**
+ * Create an instance of {@link SubjectMatchType }
+ *
+ */
+ public SubjectMatchType createSubjectMatchType() {
+ return new SubjectMatchType();
+ }
+
+ /**
+ * Create an instance of {@link TargetType }
+ *
+ */
+ public TargetType createTargetType() {
+ return new TargetType();
+ }
+
+ /**
+ * Create an instance of {@link CombinerParameterType }
+ *
+ */
+ public CombinerParameterType createCombinerParameterType() {
+ return new CombinerParameterType();
+ }
+
+ /**
+ * Create an instance of {@link ApplyType }
+ *
+ */
+ public ApplyType createApplyType() {
+ return new ApplyType();
+ }
+
+ /**
+ * Create an instance of {@link IdReferenceType }
+ *
+ */
+ public IdReferenceType createIdReferenceType() {
+ return new IdReferenceType();
+ }
+
+ /**
+ * Create an instance of {@link ResourcesType }
+ *
+ */
+ public ResourcesType createResourcesType() {
+ return new ResourcesType();
+ }
+
+ /**
+ * Create an instance of {@link SubjectAttributeDesignatorType }
+ *
+ */
+ public SubjectAttributeDesignatorType createSubjectAttributeDesignatorType() {
+ return new SubjectAttributeDesignatorType();
+ }
+
+ /**
+ * Create an instance of {@link ResourceMatchType }
+ *
+ */
+ public ResourceMatchType createResourceMatchType() {
+ return new ResourceMatchType();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PolicySetCombinerParametersType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "PolicySetCombinerParameters")
+ public JAXBElement<PolicySetCombinerParametersType> createPolicySetCombinerParameters(PolicySetCombinerParametersType value) {
+ return new JAXBElement<PolicySetCombinerParametersType>(_PolicySetCombinerParameters_QNAME, PolicySetCombinerParametersType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ObligationsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Obligations")
+ public JAXBElement<ObligationsType> createObligations(ObligationsType value) {
+ return new JAXBElement<ObligationsType>(_Obligations_QNAME, ObligationsType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link RuleCombinerParametersType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "RuleCombinerParameters")
+ public JAXBElement<RuleCombinerParametersType> createRuleCombinerParameters(RuleCombinerParametersType value) {
+ return new JAXBElement<RuleCombinerParametersType>(_RuleCombinerParameters_QNAME, RuleCombinerParametersType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AttributeValueType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "AttributeValue", substitutionHeadNamespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", substitutionHeadName = "Expression")
+ public JAXBElement<AttributeValueType> createAttributeValue(AttributeValueType value) {
+ return new JAXBElement<AttributeValueType>(_AttributeValue_QNAME, AttributeValueType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link VariableDefinitionType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "VariableDefinition")
+ public JAXBElement<VariableDefinitionType> createVariableDefinition(VariableDefinitionType value) {
+ return new JAXBElement<VariableDefinitionType>(_VariableDefinition_QNAME, VariableDefinitionType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ApplyType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Apply", substitutionHeadNamespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", substitutionHeadName = "Expression")
+ public JAXBElement<ApplyType> createApply(ApplyType value) {
+ return new JAXBElement<ApplyType>(_Apply_QNAME, ApplyType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EnvironmentsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Environments")
+ public JAXBElement<EnvironmentsType> createEnvironments(EnvironmentsType value) {
+ return new JAXBElement<EnvironmentsType>(_Environments_QNAME, EnvironmentsType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link SubjectMatchType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "SubjectMatch")
+ public JAXBElement<SubjectMatchType> createSubjectMatch(SubjectMatchType value) {
+ return new JAXBElement<SubjectMatchType>(_SubjectMatch_QNAME, SubjectMatchType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ResourceMatchType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "ResourceMatch")
+ public JAXBElement<ResourceMatchType> createResourceMatch(ResourceMatchType value) {
+ return new JAXBElement<ResourceMatchType>(_ResourceMatch_QNAME, ResourceMatchType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "ActionAttributeDesignator", substitutionHeadNamespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", substitutionHeadName = "Expression")
+ public JAXBElement<AttributeDesignatorType> createActionAttributeDesignator(AttributeDesignatorType value) {
+ return new JAXBElement<AttributeDesignatorType>(_ActionAttributeDesignator_QNAME, AttributeDesignatorType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PolicyCombinerParametersType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "PolicyCombinerParameters")
+ public JAXBElement<PolicyCombinerParametersType> createPolicyCombinerParameters(PolicyCombinerParametersType value) {
+ return new JAXBElement<PolicyCombinerParametersType>(_PolicyCombinerParameters_QNAME, PolicyCombinerParametersType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ObligationType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Obligation")
+ public JAXBElement<ObligationType> createObligation(ObligationType value) {
+ return new JAXBElement<ObligationType>(_Obligation_QNAME, ObligationType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "ResourceAttributeDesignator", substitutionHeadNamespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", substitutionHeadName = "Expression")
+ public JAXBElement<AttributeDesignatorType> createResourceAttributeDesignator(AttributeDesignatorType value) {
+ return new JAXBElement<AttributeDesignatorType>(_ResourceAttributeDesignator_QNAME, AttributeDesignatorType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link FunctionType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Function", substitutionHeadNamespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", substitutionHeadName = "Expression")
+ public JAXBElement<FunctionType> createFunction(FunctionType value) {
+ return new JAXBElement<FunctionType>(_Function_QNAME, FunctionType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "EnvironmentAttributeDesignator", substitutionHeadNamespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", substitutionHeadName = "Expression")
+ public JAXBElement<AttributeDesignatorType> createEnvironmentAttributeDesignator(AttributeDesignatorType value) {
+ return new JAXBElement<AttributeDesignatorType>(_EnvironmentAttributeDesignator_QNAME, AttributeDesignatorType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link VariableReferenceType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "VariableReference", substitutionHeadNamespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", substitutionHeadName = "Expression")
+ public JAXBElement<VariableReferenceType> createVariableReference(VariableReferenceType value) {
+ return new JAXBElement<VariableReferenceType>(_VariableReference_QNAME, VariableReferenceType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AttributeAssignmentType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "AttributeAssignment")
+ public JAXBElement<AttributeAssignmentType> createAttributeAssignment(AttributeAssignmentType value) {
+ return new JAXBElement<AttributeAssignmentType>(_AttributeAssignment_QNAME, AttributeAssignmentType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ResourceType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Resource")
+ public JAXBElement<ResourceType> createResource(ResourceType value) {
+ return new JAXBElement<ResourceType>(_Resource_QNAME, ResourceType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ConditionType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Condition")
+ public JAXBElement<ConditionType> createCondition(ConditionType value) {
+ return new JAXBElement<ConditionType>(_Condition_QNAME, ConditionType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link DefaultsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "PolicyDefaults")
+ public JAXBElement<DefaultsType> createPolicyDefaults(DefaultsType value) {
+ return new JAXBElement<DefaultsType>(_PolicyDefaults_QNAME, DefaultsType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link RuleType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Rule")
+ public JAXBElement<RuleType> createRule(RuleType value) {
+ return new JAXBElement<RuleType>(_Rule_QNAME, RuleType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ResourcesType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Resources")
+ public JAXBElement<ResourcesType> createResources(ResourcesType value) {
+ return new JAXBElement<ResourcesType>(_Resources_QNAME, ResourcesType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PolicyType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Policy")
+ public JAXBElement<PolicyType> createPolicy(PolicyType value) {
+ return new JAXBElement<PolicyType>(_Policy_QNAME, PolicyType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TargetType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Target")
+ public JAXBElement<TargetType> createTarget(TargetType value) {
+ return new JAXBElement<TargetType>(_Target_QNAME, TargetType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link SubjectType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Subject")
+ public JAXBElement<SubjectType> createSubject(SubjectType value) {
+ return new JAXBElement<SubjectType>(_Subject_QNAME, SubjectType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link SubjectsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Subjects")
+ public JAXBElement<SubjectsType> createSubjects(SubjectsType value) {
+ return new JAXBElement<SubjectsType>(_Subjects_QNAME, SubjectsType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link IdReferenceType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "PolicySetIdReference")
+ public JAXBElement<IdReferenceType> createPolicySetIdReference(IdReferenceType value) {
+ return new JAXBElement<IdReferenceType>(_PolicySetIdReference_QNAME, IdReferenceType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link DefaultsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "PolicySetDefaults")
+ public JAXBElement<DefaultsType> createPolicySetDefaults(DefaultsType value) {
+ return new JAXBElement<DefaultsType>(_PolicySetDefaults_QNAME, DefaultsType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "XPathVersion")
+ public JAXBElement<String> createXPathVersion(String value) {
+ return new JAXBElement<String>(_XPathVersion_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link IdReferenceType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "PolicyIdReference")
+ public JAXBElement<IdReferenceType> createPolicyIdReference(IdReferenceType value) {
+ return new JAXBElement<IdReferenceType>(_PolicyIdReference_QNAME, IdReferenceType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link CombinerParametersType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "CombinerParameters")
+ public JAXBElement<CombinerParametersType> createCombinerParameters(CombinerParametersType value) {
+ return new JAXBElement<CombinerParametersType>(_CombinerParameters_QNAME, CombinerParametersType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EnvironmentMatchType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "EnvironmentMatch")
+ public JAXBElement<EnvironmentMatchType> createEnvironmentMatch(EnvironmentMatchType value) {
+ return new JAXBElement<EnvironmentMatchType>(_EnvironmentMatch_QNAME, EnvironmentMatchType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EnvironmentType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Environment")
+ public JAXBElement<EnvironmentType> createEnvironment(EnvironmentType value) {
+ return new JAXBElement<EnvironmentType>(_Environment_QNAME, EnvironmentType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ActionsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Actions")
+ public JAXBElement<ActionsType> createActions(ActionsType value) {
+ return new JAXBElement<ActionsType>(_Actions_QNAME, ActionsType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ActionType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Action")
+ public JAXBElement<ActionType> createAction(ActionType value) {
+ return new JAXBElement<ActionType>(_Action_QNAME, ActionType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ActionMatchType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "ActionMatch")
+ public JAXBElement<ActionMatchType> createActionMatch(ActionMatchType value) {
+ return new JAXBElement<ActionMatchType>(_ActionMatch_QNAME, ActionMatchType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AttributeSelectorType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "AttributeSelector", substitutionHeadNamespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", substitutionHeadName = "Expression")
+ public JAXBElement<AttributeSelectorType> createAttributeSelector(AttributeSelectorType value) {
+ return new JAXBElement<AttributeSelectorType>(_AttributeSelector_QNAME, AttributeSelectorType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Description")
+ public JAXBElement<String> createDescription(String value) {
+ return new JAXBElement<String>(_Description_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PolicySetType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "PolicySet")
+ public JAXBElement<PolicySetType> createPolicySet(PolicySetType value) {
+ return new JAXBElement<PolicySetType>(_PolicySet_QNAME, PolicySetType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link SubjectAttributeDesignatorType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "SubjectAttributeDesignator", substitutionHeadNamespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", substitutionHeadName = "Expression")
+ public JAXBElement<SubjectAttributeDesignatorType> createSubjectAttributeDesignator(SubjectAttributeDesignatorType value) {
+ return new JAXBElement<SubjectAttributeDesignatorType>(_SubjectAttributeDesignator_QNAME, SubjectAttributeDesignatorType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ExpressionType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "Expression")
+ public JAXBElement<ExpressionType> createExpression(ExpressionType value) {
+ return new JAXBElement<ExpressionType>(_Expression_QNAME, ExpressionType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link CombinerParameterType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", name = "CombinerParameter")
+ public JAXBElement<CombinerParameterType> createCombinerParameter(CombinerParameterType value) {
+ return new JAXBElement<CombinerParameterType>(_CombinerParameter_QNAME, CombinerParameterType.class, null, value);
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObligationType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObligationType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObligationType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,133 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ObligationType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ObligationType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeAssignment" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ObligationId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="FulfillOn" use="required" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}EffectType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ObligationType", propOrder = {
+ "attributeAssignment"
+})
+public class ObligationType {
+
+ @XmlElement(name = "AttributeAssignment")
+ protected List<AttributeAssignmentType> attributeAssignment;
+ @XmlAttribute(name = "ObligationId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String obligationId;
+ @XmlAttribute(name = "FulfillOn", required = true)
+ protected EffectType fulfillOn;
+
+ /**
+ * Gets the value of the attributeAssignment property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the attributeAssignment property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttributeAssignment().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AttributeAssignmentType }
+ *
+ *
+ */
+ public List<AttributeAssignmentType> getAttributeAssignment() {
+ if (attributeAssignment == null) {
+ attributeAssignment = new ArrayList<AttributeAssignmentType>();
+ }
+ return this.attributeAssignment;
+ }
+
+ /**
+ * Gets the value of the obligationId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getObligationId() {
+ return obligationId;
+ }
+
+ /**
+ * Sets the value of the obligationId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setObligationId(String value) {
+ this.obligationId = value;
+ }
+
+ /**
+ * Gets the value of the fulfillOn property.
+ *
+ * @return
+ * possible object is
+ * {@link EffectType }
+ *
+ */
+ public EffectType getFulfillOn() {
+ return fulfillOn;
+ }
+
+ /**
+ * Sets the value of the fulfillOn property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EffectType }
+ *
+ */
+ public void setFulfillOn(EffectType value) {
+ this.fulfillOn = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObligationsType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObligationsType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ObligationsType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ObligationsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ObligationsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Obligation" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ObligationsType", propOrder = {
+ "obligation"
+})
+public class ObligationsType {
+
+ @XmlElement(name = "Obligation", required = true)
+ protected List<ObligationType> obligation;
+
+ /**
+ * Gets the value of the obligation property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the obligation property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getObligation().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ObligationType }
+ *
+ *
+ */
+ public List<ObligationType> getObligation() {
+ if (obligation == null) {
+ obligation = new ArrayList<ObligationType>();
+ }
+ return this.obligation;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicyCombinerParametersType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicyCombinerParametersType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicyCombinerParametersType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,69 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for PolicyCombinerParametersType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="PolicyCombinerParametersType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}CombinerParametersType">
+ * <attribute name="PolicyIdRef" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "PolicyCombinerParametersType")
+public class PolicyCombinerParametersType
+ extends CombinerParametersType
+{
+
+ @XmlAttribute(name = "PolicyIdRef", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String policyIdRef;
+
+ /**
+ * Gets the value of the policyIdRef property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPolicyIdRef() {
+ return policyIdRef;
+ }
+
+ /**
+ * Sets the value of the policyIdRef property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPolicyIdRef(String value) {
+ this.policyIdRef = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicySetCombinerParametersType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicySetCombinerParametersType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicySetCombinerParametersType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,69 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for PolicySetCombinerParametersType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="PolicySetCombinerParametersType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}CombinerParametersType">
+ * <attribute name="PolicySetIdRef" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "PolicySetCombinerParametersType")
+public class PolicySetCombinerParametersType
+ extends CombinerParametersType
+{
+
+ @XmlAttribute(name = "PolicySetIdRef", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String policySetIdRef;
+
+ /**
+ * Gets the value of the policySetIdRef property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPolicySetIdRef() {
+ return policySetIdRef;
+ }
+
+ /**
+ * Sets the value of the policySetIdRef property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPolicySetIdRef(String value) {
+ this.policySetIdRef = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicySetType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicySetType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicySetType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,302 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for PolicySetType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="PolicySetType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Description" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicySetDefaults" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Target"/>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicySet"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Policy"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicySetIdReference"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicyIdReference"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}CombinerParameters"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicyCombinerParameters"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicySetCombinerParameters"/>
+ * </choice>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Obligations" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="PolicySetId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="Version" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VersionType" default="1.0" />
+ * <attribute name="PolicyCombiningAlgId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "PolicySetType", propOrder = {
+ "description",
+ "policySetDefaults",
+ "target",
+ "policySetOrPolicyOrPolicySetIdReference",
+ "obligations"
+})
+public class PolicySetType {
+
+ @XmlElement(name = "Description")
+ protected String description;
+ @XmlElement(name = "PolicySetDefaults")
+ protected DefaultsType policySetDefaults;
+ @XmlElement(name = "Target", required = true)
+ protected TargetType target;
+ @XmlElementRefs({
+ @XmlElementRef(name = "Policy", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class),
+ @XmlElementRef(name = "PolicySetIdReference", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class),
+ @XmlElementRef(name = "PolicyCombinerParameters", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class),
+ @XmlElementRef(name = "CombinerParameters", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class),
+ @XmlElementRef(name = "PolicySet", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class),
+ @XmlElementRef(name = "PolicyIdReference", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class),
+ @XmlElementRef(name = "PolicySetCombinerParameters", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<?>> policySetOrPolicyOrPolicySetIdReference;
+ @XmlElement(name = "Obligations")
+ protected ObligationsType obligations;
+ @XmlAttribute(name = "PolicySetId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String policySetId;
+ @XmlAttribute(name = "Version")
+ protected String version;
+ @XmlAttribute(name = "PolicyCombiningAlgId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String policyCombiningAlgId;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the policySetDefaults property.
+ *
+ * @return
+ * possible object is
+ * {@link DefaultsType }
+ *
+ */
+ public DefaultsType getPolicySetDefaults() {
+ return policySetDefaults;
+ }
+
+ /**
+ * Sets the value of the policySetDefaults property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DefaultsType }
+ *
+ */
+ public void setPolicySetDefaults(DefaultsType value) {
+ this.policySetDefaults = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link TargetType }
+ *
+ */
+ public TargetType getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TargetType }
+ *
+ */
+ public void setTarget(TargetType value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the policySetOrPolicyOrPolicySetIdReference property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the policySetOrPolicyOrPolicySetIdReference property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPolicySetOrPolicyOrPolicySetIdReference().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link PolicyType }{@code >}
+ * {@link JAXBElement }{@code <}{@link IdReferenceType }{@code >}
+ * {@link JAXBElement }{@code <}{@link PolicyCombinerParametersType }{@code >}
+ * {@link JAXBElement }{@code <}{@link CombinerParametersType }{@code >}
+ * {@link JAXBElement }{@code <}{@link PolicySetType }{@code >}
+ * {@link JAXBElement }{@code <}{@link IdReferenceType }{@code >}
+ * {@link JAXBElement }{@code <}{@link PolicySetCombinerParametersType }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<?>> getPolicySetOrPolicyOrPolicySetIdReference() {
+ if (policySetOrPolicyOrPolicySetIdReference == null) {
+ policySetOrPolicyOrPolicySetIdReference = new ArrayList<JAXBElement<?>>();
+ }
+ return this.policySetOrPolicyOrPolicySetIdReference;
+ }
+
+ /**
+ * Gets the value of the obligations property.
+ *
+ * @return
+ * possible object is
+ * {@link ObligationsType }
+ *
+ */
+ public ObligationsType getObligations() {
+ return obligations;
+ }
+
+ /**
+ * Sets the value of the obligations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ObligationsType }
+ *
+ */
+ public void setObligations(ObligationsType value) {
+ this.obligations = value;
+ }
+
+ /**
+ * Gets the value of the policySetId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPolicySetId() {
+ return policySetId;
+ }
+
+ /**
+ * Sets the value of the policySetId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPolicySetId(String value) {
+ this.policySetId = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "1.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the policyCombiningAlgId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPolicyCombiningAlgId() {
+ return policyCombiningAlgId;
+ }
+
+ /**
+ * Sets the value of the policyCombiningAlgId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPolicyCombiningAlgId(String value) {
+ this.policyCombiningAlgId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicyType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicyType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/PolicyType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,291 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for PolicyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="PolicyType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Description" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicyDefaults" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Target"/>
+ * <choice maxOccurs="unbounded">
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}CombinerParameters" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}RuleCombinerParameters" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VariableDefinition"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Rule"/>
+ * </choice>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Obligations" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="PolicyId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="Version" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VersionType" default="1.0" />
+ * <attribute name="RuleCombiningAlgId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "PolicyType", propOrder = {
+ "description",
+ "policyDefaults",
+ "target",
+ "combinerParametersOrRuleCombinerParametersOrVariableDefinition",
+ "obligations"
+})
+public class PolicyType {
+
+ @XmlElement(name = "Description")
+ protected String description;
+ @XmlElement(name = "PolicyDefaults")
+ protected DefaultsType policyDefaults;
+ @XmlElement(name = "Target", required = true)
+ protected TargetType target;
+ @XmlElements({
+ @XmlElement(name = "CombinerParameters", type = CombinerParametersType.class),
+ @XmlElement(name = "Rule", type = RuleType.class),
+ @XmlElement(name = "VariableDefinition", type = VariableDefinitionType.class),
+ @XmlElement(name = "RuleCombinerParameters", type = RuleCombinerParametersType.class)
+ })
+ protected List<Object> combinerParametersOrRuleCombinerParametersOrVariableDefinition;
+ @XmlElement(name = "Obligations")
+ protected ObligationsType obligations;
+ @XmlAttribute(name = "PolicyId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String policyId;
+ @XmlAttribute(name = "Version")
+ protected String version;
+ @XmlAttribute(name = "RuleCombiningAlgId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String ruleCombiningAlgId;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the policyDefaults property.
+ *
+ * @return
+ * possible object is
+ * {@link DefaultsType }
+ *
+ */
+ public DefaultsType getPolicyDefaults() {
+ return policyDefaults;
+ }
+
+ /**
+ * Sets the value of the policyDefaults property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DefaultsType }
+ *
+ */
+ public void setPolicyDefaults(DefaultsType value) {
+ this.policyDefaults = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link TargetType }
+ *
+ */
+ public TargetType getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TargetType }
+ *
+ */
+ public void setTarget(TargetType value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the combinerParametersOrRuleCombinerParametersOrVariableDefinition property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the combinerParametersOrRuleCombinerParametersOrVariableDefinition property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCombinerParametersOrRuleCombinerParametersOrVariableDefinition().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CombinerParametersType }
+ * {@link RuleType }
+ * {@link VariableDefinitionType }
+ * {@link RuleCombinerParametersType }
+ *
+ *
+ */
+ public List<Object> getCombinerParametersOrRuleCombinerParametersOrVariableDefinition() {
+ if (combinerParametersOrRuleCombinerParametersOrVariableDefinition == null) {
+ combinerParametersOrRuleCombinerParametersOrVariableDefinition = new ArrayList<Object>();
+ }
+ return this.combinerParametersOrRuleCombinerParametersOrVariableDefinition;
+ }
+
+ /**
+ * Gets the value of the obligations property.
+ *
+ * @return
+ * possible object is
+ * {@link ObligationsType }
+ *
+ */
+ public ObligationsType getObligations() {
+ return obligations;
+ }
+
+ /**
+ * Sets the value of the obligations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ObligationsType }
+ *
+ */
+ public void setObligations(ObligationsType value) {
+ this.obligations = value;
+ }
+
+ /**
+ * Gets the value of the policyId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPolicyId() {
+ return policyId;
+ }
+
+ /**
+ * Sets the value of the policyId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPolicyId(String value) {
+ this.policyId = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "1.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the ruleCombiningAlgId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRuleCombiningAlgId() {
+ return ruleCombiningAlgId;
+ }
+
+ /**
+ * Sets the value of the ruleCombiningAlgId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRuleCombiningAlgId(String value) {
+ this.ruleCombiningAlgId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourceMatchType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourceMatchType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourceMatchType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,157 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ResourceMatchType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ResourceMatchType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeValue"/>
+ * <choice>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ResourceAttributeDesignator"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeSelector"/>
+ * </choice>
+ * </sequence>
+ * <attribute name="MatchId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ResourceMatchType", propOrder = {
+ "attributeValue",
+ "resourceAttributeDesignator",
+ "attributeSelector"
+})
+public class ResourceMatchType {
+
+ @XmlElement(name = "AttributeValue", required = true)
+ protected AttributeValueType attributeValue;
+ @XmlElement(name = "ResourceAttributeDesignator")
+ protected AttributeDesignatorType resourceAttributeDesignator;
+ @XmlElement(name = "AttributeSelector")
+ protected AttributeSelectorType attributeSelector;
+ @XmlAttribute(name = "MatchId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String matchId;
+
+ /**
+ * Gets the value of the attributeValue property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeValueType }
+ *
+ */
+ public AttributeValueType getAttributeValue() {
+ return attributeValue;
+ }
+
+ /**
+ * Sets the value of the attributeValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeValueType }
+ *
+ */
+ public void setAttributeValue(AttributeValueType value) {
+ this.attributeValue = value;
+ }
+
+ /**
+ * Gets the value of the resourceAttributeDesignator property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeDesignatorType }
+ *
+ */
+ public AttributeDesignatorType getResourceAttributeDesignator() {
+ return resourceAttributeDesignator;
+ }
+
+ /**
+ * Sets the value of the resourceAttributeDesignator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeDesignatorType }
+ *
+ */
+ public void setResourceAttributeDesignator(AttributeDesignatorType value) {
+ this.resourceAttributeDesignator = value;
+ }
+
+ /**
+ * Gets the value of the attributeSelector property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeSelectorType }
+ *
+ */
+ public AttributeSelectorType getAttributeSelector() {
+ return attributeSelector;
+ }
+
+ /**
+ * Sets the value of the attributeSelector property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeSelectorType }
+ *
+ */
+ public void setAttributeSelector(AttributeSelectorType value) {
+ this.attributeSelector = value;
+ }
+
+ /**
+ * Gets the value of the matchId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMatchId() {
+ return matchId;
+ }
+
+ /**
+ * Sets the value of the matchId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMatchId(String value) {
+ this.matchId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourceType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourceType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourceType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ResourceType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ResourceType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ResourceMatch" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ResourceType", propOrder = {
+ "resourceMatch"
+})
+public class ResourceType {
+
+ @XmlElement(name = "ResourceMatch", required = true)
+ protected List<ResourceMatchType> resourceMatch;
+
+ /**
+ * Gets the value of the resourceMatch property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resourceMatch property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResourceMatch().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ResourceMatchType }
+ *
+ *
+ */
+ public List<ResourceMatchType> getResourceMatch() {
+ if (resourceMatch == null) {
+ resourceMatch = new ArrayList<ResourceMatchType>();
+ }
+ return this.resourceMatch;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourcesType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourcesType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/ResourcesType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ResourcesType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ResourcesType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Resource" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ResourcesType", propOrder = {
+ "resource"
+})
+public class ResourcesType {
+
+ @XmlElement(name = "Resource", required = true)
+ protected List<ResourceType> resource;
+
+ /**
+ * Gets the value of the resource property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resource property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResource().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ResourceType }
+ *
+ *
+ */
+ public List<ResourceType> getResource() {
+ if (resource == null) {
+ resource = new ArrayList<ResourceType>();
+ }
+ return this.resource;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/RuleCombinerParametersType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/RuleCombinerParametersType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/RuleCombinerParametersType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,67 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for RuleCombinerParametersType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="RuleCombinerParametersType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}CombinerParametersType">
+ * <attribute name="RuleIdRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "RuleCombinerParametersType")
+public class RuleCombinerParametersType
+ extends CombinerParametersType
+{
+
+ @XmlAttribute(name = "RuleIdRef", required = true)
+ protected String ruleIdRef;
+
+ /**
+ * Gets the value of the ruleIdRef property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRuleIdRef() {
+ return ruleIdRef;
+ }
+
+ /**
+ * Sets the value of the ruleIdRef property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRuleIdRef(String value) {
+ this.ruleIdRef = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/RuleType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/RuleType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/RuleType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,180 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for RuleType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="RuleType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Description" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Target" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Condition" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="RuleId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Effect" use="required" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}EffectType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "RuleType", propOrder = {
+ "description",
+ "target",
+ "condition"
+})
+public class RuleType {
+
+ @XmlElement(name = "Description")
+ protected String description;
+ @XmlElement(name = "Target")
+ protected TargetType target;
+ @XmlElement(name = "Condition")
+ protected ConditionType condition;
+ @XmlAttribute(name = "RuleId", required = true)
+ protected String ruleId;
+ @XmlAttribute(name = "Effect", required = true)
+ protected EffectType effect;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link TargetType }
+ *
+ */
+ public TargetType getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TargetType }
+ *
+ */
+ public void setTarget(TargetType value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the condition property.
+ *
+ * @return
+ * possible object is
+ * {@link ConditionType }
+ *
+ */
+ public ConditionType getCondition() {
+ return condition;
+ }
+
+ /**
+ * Sets the value of the condition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ConditionType }
+ *
+ */
+ public void setCondition(ConditionType value) {
+ this.condition = value;
+ }
+
+ /**
+ * Gets the value of the ruleId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRuleId() {
+ return ruleId;
+ }
+
+ /**
+ * Sets the value of the ruleId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRuleId(String value) {
+ this.ruleId = value;
+ }
+
+ /**
+ * Gets the value of the effect property.
+ *
+ * @return
+ * possible object is
+ * {@link EffectType }
+ *
+ */
+ public EffectType getEffect() {
+ return effect;
+ }
+
+ /**
+ * Sets the value of the effect property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EffectType }
+ *
+ */
+ public void setEffect(EffectType value) {
+ this.effect = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectAttributeDesignatorType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectAttributeDesignatorType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectAttributeDesignatorType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,73 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SubjectAttributeDesignatorType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SubjectAttributeDesignatorType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeDesignatorType">
+ * <attribute name="SubjectCategory" type="{http://www.w3.org/2001/XMLSchema}anyURI" default="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "SubjectAttributeDesignatorType")
+public class SubjectAttributeDesignatorType
+ extends AttributeDesignatorType
+{
+
+ @XmlAttribute(name = "SubjectCategory")
+ @XmlSchemaType(name = "anyURI")
+ protected String subjectCategory;
+
+ /**
+ * Gets the value of the subjectCategory property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSubjectCategory() {
+ if (subjectCategory == null) {
+ return "urn:oasis:names:tc:xacml:1.0:subject-category:access-subject";
+ } else {
+ return subjectCategory;
+ }
+ }
+
+ /**
+ * Sets the value of the subjectCategory property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSubjectCategory(String value) {
+ this.subjectCategory = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectMatchType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectMatchType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectMatchType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,157 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SubjectMatchType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SubjectMatchType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeValue"/>
+ * <choice>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}SubjectAttributeDesignator"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeSelector"/>
+ * </choice>
+ * </sequence>
+ * <attribute name="MatchId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "SubjectMatchType", propOrder = {
+ "attributeValue",
+ "subjectAttributeDesignator",
+ "attributeSelector"
+})
+public class SubjectMatchType {
+
+ @XmlElement(name = "AttributeValue", required = true)
+ protected AttributeValueType attributeValue;
+ @XmlElement(name = "SubjectAttributeDesignator")
+ protected SubjectAttributeDesignatorType subjectAttributeDesignator;
+ @XmlElement(name = "AttributeSelector")
+ protected AttributeSelectorType attributeSelector;
+ @XmlAttribute(name = "MatchId", required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String matchId;
+
+ /**
+ * Gets the value of the attributeValue property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeValueType }
+ *
+ */
+ public AttributeValueType getAttributeValue() {
+ return attributeValue;
+ }
+
+ /**
+ * Sets the value of the attributeValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeValueType }
+ *
+ */
+ public void setAttributeValue(AttributeValueType value) {
+ this.attributeValue = value;
+ }
+
+ /**
+ * Gets the value of the subjectAttributeDesignator property.
+ *
+ * @return
+ * possible object is
+ * {@link SubjectAttributeDesignatorType }
+ *
+ */
+ public SubjectAttributeDesignatorType getSubjectAttributeDesignator() {
+ return subjectAttributeDesignator;
+ }
+
+ /**
+ * Sets the value of the subjectAttributeDesignator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SubjectAttributeDesignatorType }
+ *
+ */
+ public void setSubjectAttributeDesignator(SubjectAttributeDesignatorType value) {
+ this.subjectAttributeDesignator = value;
+ }
+
+ /**
+ * Gets the value of the attributeSelector property.
+ *
+ * @return
+ * possible object is
+ * {@link AttributeSelectorType }
+ *
+ */
+ public AttributeSelectorType getAttributeSelector() {
+ return attributeSelector;
+ }
+
+ /**
+ * Sets the value of the attributeSelector property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AttributeSelectorType }
+ *
+ */
+ public void setAttributeSelector(AttributeSelectorType value) {
+ this.attributeSelector = value;
+ }
+
+ /**
+ * Gets the value of the matchId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMatchId() {
+ return matchId;
+ }
+
+ /**
+ * Sets the value of the matchId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMatchId(String value) {
+ this.matchId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SubjectType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SubjectType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}SubjectMatch" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "SubjectType", propOrder = {
+ "subjectMatch"
+})
+public class SubjectType {
+
+ @XmlElement(name = "SubjectMatch", required = true)
+ protected List<SubjectMatchType> subjectMatch;
+
+ /**
+ * Gets the value of the subjectMatch property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the subjectMatch property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSubjectMatch().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SubjectMatchType }
+ *
+ *
+ */
+ public List<SubjectMatchType> getSubjectMatch() {
+ if (subjectMatch == null) {
+ subjectMatch = new ArrayList<SubjectMatchType>();
+ }
+ return this.subjectMatch;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectsType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectsType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/SubjectsType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SubjectsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SubjectsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Subject" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "SubjectsType", propOrder = {
+ "subject"
+})
+public class SubjectsType {
+
+ @XmlElement(name = "Subject", required = true)
+ protected List<SubjectType> subject;
+
+ /**
+ * Gets the value of the subject property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the subject property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSubject().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SubjectType }
+ *
+ *
+ */
+ public List<SubjectType> getSubject() {
+ if (subject == null) {
+ subject = new ArrayList<SubjectType>();
+ }
+ return this.subject;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/TargetType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/TargetType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/TargetType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,153 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for TargetType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="TargetType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Subjects" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Resources" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Actions" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Environments" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "TargetType", propOrder = {
+ "subjects",
+ "resources",
+ "actions",
+ "environments"
+})
+public class TargetType {
+
+ @XmlElement(name = "Subjects")
+ protected SubjectsType subjects;
+ @XmlElement(name = "Resources")
+ protected ResourcesType resources;
+ @XmlElement(name = "Actions")
+ protected ActionsType actions;
+ @XmlElement(name = "Environments")
+ protected EnvironmentsType environments;
+
+ /**
+ * Gets the value of the subjects property.
+ *
+ * @return
+ * possible object is
+ * {@link SubjectsType }
+ *
+ */
+ public SubjectsType getSubjects() {
+ return subjects;
+ }
+
+ /**
+ * Sets the value of the subjects property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SubjectsType }
+ *
+ */
+ public void setSubjects(SubjectsType value) {
+ this.subjects = value;
+ }
+
+ /**
+ * Gets the value of the resources property.
+ *
+ * @return
+ * possible object is
+ * {@link ResourcesType }
+ *
+ */
+ public ResourcesType getResources() {
+ return resources;
+ }
+
+ /**
+ * Sets the value of the resources property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ResourcesType }
+ *
+ */
+ public void setResources(ResourcesType value) {
+ this.resources = value;
+ }
+
+ /**
+ * Gets the value of the actions property.
+ *
+ * @return
+ * possible object is
+ * {@link ActionsType }
+ *
+ */
+ public ActionsType getActions() {
+ return actions;
+ }
+
+ /**
+ * Sets the value of the actions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ActionsType }
+ *
+ */
+ public void setActions(ActionsType value) {
+ this.actions = value;
+ }
+
+ /**
+ * Gets the value of the environments property.
+ *
+ * @return
+ * possible object is
+ * {@link EnvironmentsType }
+ *
+ */
+ public EnvironmentsType getEnvironments() {
+ return environments;
+ }
+
+ /**
+ * Sets the value of the environments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EnvironmentsType }
+ *
+ */
+ public void setEnvironments(EnvironmentsType value) {
+ this.environments = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/VariableDefinitionType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/VariableDefinitionType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/VariableDefinitionType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,116 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for VariableDefinitionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="VariableDefinitionType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Expression"/>
+ * </sequence>
+ * <attribute name="VariableId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "VariableDefinitionType", propOrder = {
+ "expression"
+})
+public class VariableDefinitionType {
+
+ @XmlElementRef(name = "Expression", namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", type = JAXBElement.class)
+ protected JAXBElement<?> expression;
+ @XmlAttribute(name = "VariableId", required = true)
+ protected String variableId;
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeSelectorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link VariableReferenceType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ExpressionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeValueType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ApplyType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link FunctionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link SubjectAttributeDesignatorType }{@code >}
+ *
+ */
+ public JAXBElement<?> getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeSelectorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link VariableReferenceType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ExpressionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeValueType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ApplyType }{@code >}
+ * {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}
+ * {@link JAXBElement }{@code <}{@link FunctionType }{@code >}
+ * {@link JAXBElement }{@code <}{@link SubjectAttributeDesignatorType }{@code >}
+ *
+ */
+ public void setExpression(JAXBElement<?> value) {
+ this.expression = ((JAXBElement<?> ) value);
+ }
+
+ /**
+ * Gets the value of the variableId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVariableId() {
+ return variableId;
+ }
+
+ /**
+ * Sets the value of the variableId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVariableId(String value) {
+ this.variableId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/VariableReferenceType.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/VariableReferenceType.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/VariableReferenceType.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,67 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+
+package org.jboss.security.xacml.core.model.policy;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for VariableReferenceType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="VariableReferenceType">
+ * <complexContent>
+ * <extension base="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}ExpressionType">
+ * <attribute name="VariableId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "VariableReferenceType")
+public class VariableReferenceType
+ extends ExpressionType
+{
+
+ @XmlAttribute(name = "VariableId", required = true)
+ protected String variableId;
+
+ /**
+ * Gets the value of the variableId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVariableId() {
+ return variableId;
+ }
+
+ /**
+ * Sets the value of the variableId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVariableId(String value) {
+ this.variableId = value;
+ }
+
+}
Added: projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/package-info.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/package-info.java (rev 0)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/main/org/jboss/security/xacml/core/model/policy/package-info.java 2007-07-20 12:46:58 UTC (rev 64159)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-b02-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.07.19 at 04:54:59 PM CDT
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "urn:oasis:names:tc:xacml:2.0:policy:schema:os", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.security.xacml.core.model.policy;
More information about the jboss-cvs-commits
mailing list