001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.02.24 at 05:55:09 PM PST
006: //
007:
008: package com.sun.xml.ws.policy.impl.bindings;
009:
010: import javax.xml.bind.JAXBElement;
011: import javax.xml.bind.annotation.XmlElementDecl;
012: import javax.xml.bind.annotation.XmlRegistry;
013: import javax.xml.namespace.QName;
014: import com.sun.xml.ws.policy.impl.bindings.AppliesTo;
015: import com.sun.xml.ws.policy.impl.bindings.ObjectFactory;
016: import com.sun.xml.ws.policy.impl.bindings.OperatorContentType;
017: import com.sun.xml.ws.policy.impl.bindings.Policy;
018: import com.sun.xml.ws.policy.impl.bindings.PolicyAttachment;
019: import com.sun.xml.ws.policy.impl.bindings.PolicyReference;
020: import com.sun.xml.ws.policy.impl.bindings.UsingPolicy;
021:
022: /**
023: * This object contains factory methods for each
024: * Java content interface and Java element interface
025: * generated in the com.sun.xml.ws.policy.impl.bindings package.
026: * <p>An ObjectFactory allows you to programatically
027: * construct new instances of the Java representation
028: * for XML content. The Java representation of XML
029: * content can consist of schema derived interfaces
030: * and classes representing the binding of schema
031: * type definitions, element declarations and model
032: * groups. Factory methods for each of these are
033: * provided in this class.
034: *
035: */
036: @XmlRegistry
037: public class ObjectFactory {
038:
039: private final static QName _ExactlyOne_QNAME = new QName(
040: "http://schemas.xmlsoap.org/ws/2004/09/policy",
041: "ExactlyOne");
042: private final static QName _All_QNAME = new QName(
043: "http://schemas.xmlsoap.org/ws/2004/09/policy", "All");
044:
045: /**
046: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.ws.policy.impl.bindings
047: *
048: */
049: public ObjectFactory() {
050: }
051:
052: /**
053: * Create an instance of {@link UsingPolicy }
054: *
055: */
056: public UsingPolicy createUsingPolicy() {
057: return new UsingPolicy();
058: }
059:
060: /**
061: * Create an instance of {@link PolicyReference }
062: *
063: */
064: public PolicyReference createPolicyReference() {
065: return new PolicyReference();
066: }
067:
068: /**
069: * Create an instance of {@link PolicyAttachment }
070: *
071: */
072: public PolicyAttachment createPolicyAttachment() {
073: return new PolicyAttachment();
074: }
075:
076: /**
077: * Create an instance of {@link AppliesTo }
078: *
079: */
080: public AppliesTo createAppliesTo() {
081: return new AppliesTo();
082: }
083:
084: /**
085: * Create an instance of {@link OperatorContentType }
086: *
087: */
088: public OperatorContentType createOperatorContentType() {
089: return new OperatorContentType();
090: }
091:
092: /**
093: * Create an instance of {@link Policy }
094: *
095: */
096: public Policy createPolicy() {
097: return new Policy();
098: }
099:
100: /**
101: * Create an instance of {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >}}
102: *
103: */
104: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/09/policy",name="ExactlyOne")
105: public JAXBElement<OperatorContentType> createExactlyOne(
106: OperatorContentType value) {
107: return new JAXBElement<OperatorContentType>(_ExactlyOne_QNAME,
108: OperatorContentType.class, null, value);
109: }
110:
111: /**
112: * Create an instance of {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >}}
113: *
114: */
115: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/09/policy",name="All")
116: public JAXBElement<OperatorContentType> createAll(
117: OperatorContentType value) {
118: return new JAXBElement<OperatorContentType>(_All_QNAME,
119: OperatorContentType.class, null, value);
120: }
121:
122: }
|