001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0
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: 2003.03.06 at 09:44:44 PST
006: //
007:
008: package org.jaffa.security.securityrolesdomain;
009:
010: /**
011: * This object contains factory methods for each Java content interface and Java element interface generated in the org.jaffa.security.securityrolesdomain 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.
012: *
013: */
014: public class ObjectFactory extends
015: com.sun.xml.bind.DefaultJAXBContextImpl {
016:
017: private static java.util.HashMap defaultImplementations = new java.util.HashMap();
018:
019: static {
020: defaultImplementations
021: .put(
022: (org.jaffa.security.securityrolesdomain.RolesType.class),
023: (org.jaffa.security.securityrolesdomain.impl.RolesTypeImpl.class));
024: defaultImplementations
025: .put(
026: (org.jaffa.security.securityrolesdomain.Include.class),
027: (org.jaffa.security.securityrolesdomain.impl.IncludeImpl.class));
028: defaultImplementations
029: .put(
030: (org.jaffa.security.securityrolesdomain.Role.class),
031: (org.jaffa.security.securityrolesdomain.impl.RoleImpl.class));
032: defaultImplementations
033: .put(
034: (org.jaffa.security.securityrolesdomain.Exclude.class),
035: (org.jaffa.security.securityrolesdomain.impl.ExcludeImpl.class));
036: defaultImplementations
037: .put(
038: (org.jaffa.security.securityrolesdomain.GrantFunctionAccess.class),
039: (org.jaffa.security.securityrolesdomain.impl.GrantFunctionAccessImpl.class));
040: defaultImplementations
041: .put(
042: (org.jaffa.security.securityrolesdomain.Roles.class),
043: (org.jaffa.security.securityrolesdomain.impl.RolesImpl.class));
044: }
045:
046: /**
047: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jaffa.security.securityrolesdomain
048: *
049: */
050: public ObjectFactory() {
051: super (
052: new org.jaffa.security.securityrolesdomain.ObjectFactory.GrammarInfoImpl());
053: }
054:
055: /**
056: * Create an instance of the specified Java content interface.
057: *
058: * @param javaContentInterface the Class object of the javacontent interface to instantiate
059: * @return a new instance
060: * @throws JAXBException if an error occurs
061: */
062: public java.lang.Object newInstance(
063: java.lang.Class javaContentInterface)
064: throws javax.xml.bind.JAXBException {
065: return super .newInstance(javaContentInterface);
066: }
067:
068: /**
069: * Get the specified property. This method can only be
070: * used to get provider specific properties.
071: * Attempting to get an undefined property will result
072: * in a PropertyException being thrown.
073: *
074: * @param name the name of the property to retrieve
075: * @return the value of the requested property
076: * @throws PropertyException when there is an error retrieving the given property or value
077: */
078: public java.lang.Object getProperty(java.lang.String name)
079: throws javax.xml.bind.PropertyException {
080: return super .getProperty(name);
081: }
082:
083: /**
084: * Set the specified property. This method can only be
085: * used to set provider specific properties.
086: * Attempting to set an undefined property will result
087: * in a PropertyException being thrown.
088: *
089: * @param name the name of the property to retrieve
090: * @param value the value of the property to be set
091: * @throws PropertyException when there is an error processing the given property or value
092: */
093: public void setProperty(java.lang.String name,
094: java.lang.Object value)
095: throws javax.xml.bind.PropertyException {
096: super .setProperty(name, value);
097: }
098:
099: /**
100: * Create an instance of RolesType
101: *
102: * @throws JAXBException if an error occurs
103: */
104: public org.jaffa.security.securityrolesdomain.RolesType createRolesType()
105: throws javax.xml.bind.JAXBException {
106: return ((org.jaffa.security.securityrolesdomain.RolesType) newInstance((org.jaffa.security.securityrolesdomain.RolesType.class)));
107: }
108:
109: /**
110: * Create an instance of Include
111: *
112: * @throws JAXBException if an error occurs
113: */
114: public org.jaffa.security.securityrolesdomain.Include createInclude()
115: throws javax.xml.bind.JAXBException {
116: return ((org.jaffa.security.securityrolesdomain.Include) newInstance((org.jaffa.security.securityrolesdomain.Include.class)));
117: }
118:
119: /**
120: * Create an instance of Role
121: *
122: * @throws JAXBException if an error occurs
123: */
124: public org.jaffa.security.securityrolesdomain.Role createRole()
125: throws javax.xml.bind.JAXBException {
126: return ((org.jaffa.security.securityrolesdomain.Role) newInstance((org.jaffa.security.securityrolesdomain.Role.class)));
127: }
128:
129: /**
130: * Create an instance of Exclude
131: *
132: * @throws JAXBException if an error occurs
133: */
134: public org.jaffa.security.securityrolesdomain.Exclude createExclude()
135: throws javax.xml.bind.JAXBException {
136: return ((org.jaffa.security.securityrolesdomain.Exclude) newInstance((org.jaffa.security.securityrolesdomain.Exclude.class)));
137: }
138:
139: /**
140: * Create an instance of GrantFunctionAccess
141: *
142: * @throws JAXBException if an error occurs
143: */
144: public org.jaffa.security.securityrolesdomain.GrantFunctionAccess createGrantFunctionAccess()
145: throws javax.xml.bind.JAXBException {
146: return ((org.jaffa.security.securityrolesdomain.GrantFunctionAccess) newInstance((org.jaffa.security.securityrolesdomain.GrantFunctionAccess.class)));
147: }
148:
149: /**
150: * Create an instance of Roles
151: *
152: * @throws JAXBException if an error occurs
153: */
154: public org.jaffa.security.securityrolesdomain.Roles createRoles()
155: throws javax.xml.bind.JAXBException {
156: return ((org.jaffa.security.securityrolesdomain.Roles) newInstance((org.jaffa.security.securityrolesdomain.Roles.class)));
157: }
158:
159: private static class GrammarInfoImpl extends
160: com.sun.xml.bind.GrammarInfo {
161:
162: public java.lang.Class getDefaultImplementation(
163: java.lang.Class javaContentInterface) {
164: return ((java.lang.Class) defaultImplementations
165: .get(javaContentInterface));
166: }
167:
168: public java.lang.Class getRootElement(java.lang.String uri,
169: java.lang.String local) {
170: if (("" == uri) && ("roles" == local)) {
171: return (org.jaffa.security.securityrolesdomain.impl.RolesImpl.class);
172: }
173: return null;
174: }
175:
176: public java.lang.String[] getProbePoints() {
177: return new java.lang.String[] { "", "roles" };
178: }
179:
180: }
181:
182: }
|