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:40 PST
006: //
007:
008: package org.jaffa.security.businessfunctionsdomain;
009:
010: /**
011: * This object contains factory methods for each Java content interface and Java element interface generated in the org.jaffa.security.businessfunctionsdomain 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.businessfunctionsdomain.BusinessFunctions.class),
023: (org.jaffa.security.businessfunctionsdomain.impl.BusinessFunctionsImpl.class));
024: defaultImplementations
025: .put(
026: (org.jaffa.security.businessfunctionsdomain.BusinessFunction.class),
027: (org.jaffa.security.businessfunctionsdomain.impl.BusinessFunctionImpl.class));
028: defaultImplementations
029: .put(
030: (org.jaffa.security.businessfunctionsdomain.BusinessFunctionsType.class),
031: (org.jaffa.security.businessfunctionsdomain.impl.BusinessFunctionsTypeImpl.class));
032: }
033:
034: /**
035: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jaffa.security.businessfunctionsdomain
036: *
037: */
038: public ObjectFactory() {
039: super (
040: new org.jaffa.security.businessfunctionsdomain.ObjectFactory.GrammarInfoImpl());
041: }
042:
043: /**
044: * Create an instance of the specified Java content interface.
045: *
046: * @param javaContentInterface the Class object of the javacontent interface to instantiate
047: * @return a new instance
048: * @throws JAXBException if an error occurs
049: */
050: public java.lang.Object newInstance(
051: java.lang.Class javaContentInterface)
052: throws javax.xml.bind.JAXBException {
053: return super .newInstance(javaContentInterface);
054: }
055:
056: /**
057: * Get the specified property. This method can only be
058: * used to get provider specific properties.
059: * Attempting to get an undefined property will result
060: * in a PropertyException being thrown.
061: *
062: * @param name the name of the property to retrieve
063: * @return the value of the requested property
064: * @throws PropertyException when there is an error retrieving the given property or value
065: */
066: public java.lang.Object getProperty(java.lang.String name)
067: throws javax.xml.bind.PropertyException {
068: return super .getProperty(name);
069: }
070:
071: /**
072: * Set the specified property. This method can only be
073: * used to set provider specific properties.
074: * Attempting to set an undefined property will result
075: * in a PropertyException being thrown.
076: *
077: * @param name the name of the property to retrieve
078: * @param value the value of the property to be set
079: * @throws PropertyException when there is an error processing the given property or value
080: */
081: public void setProperty(java.lang.String name,
082: java.lang.Object value)
083: throws javax.xml.bind.PropertyException {
084: super .setProperty(name, value);
085: }
086:
087: /**
088: * Create an instance of BusinessFunctions
089: *
090: * @throws JAXBException if an error occurs
091: */
092: public org.jaffa.security.businessfunctionsdomain.BusinessFunctions createBusinessFunctions()
093: throws javax.xml.bind.JAXBException {
094: return ((org.jaffa.security.businessfunctionsdomain.BusinessFunctions) newInstance((org.jaffa.security.businessfunctionsdomain.BusinessFunctions.class)));
095: }
096:
097: /**
098: * Create an instance of BusinessFunction
099: *
100: * @throws JAXBException if an error occurs
101: */
102: public org.jaffa.security.businessfunctionsdomain.BusinessFunction createBusinessFunction()
103: throws javax.xml.bind.JAXBException {
104: return ((org.jaffa.security.businessfunctionsdomain.BusinessFunction) newInstance((org.jaffa.security.businessfunctionsdomain.BusinessFunction.class)));
105: }
106:
107: /**
108: * Create an instance of BusinessFunctionsType
109: *
110: * @throws JAXBException if an error occurs
111: */
112: public org.jaffa.security.businessfunctionsdomain.BusinessFunctionsType createBusinessFunctionsType()
113: throws javax.xml.bind.JAXBException {
114: return ((org.jaffa.security.businessfunctionsdomain.BusinessFunctionsType) newInstance((org.jaffa.security.businessfunctionsdomain.BusinessFunctionsType.class)));
115: }
116:
117: private static class GrammarInfoImpl extends
118: com.sun.xml.bind.GrammarInfo {
119:
120: public java.lang.Class getDefaultImplementation(
121: java.lang.Class javaContentInterface) {
122: return ((java.lang.Class) defaultImplementations
123: .get(javaContentInterface));
124: }
125:
126: public java.lang.Class getRootElement(java.lang.String uri,
127: java.lang.String local) {
128: if (("" == uri) && ("business-functions" == local)) {
129: return (org.jaffa.security.businessfunctionsdomain.impl.BusinessFunctionsImpl.class);
130: }
131: return null;
132: }
133:
134: public java.lang.String[] getProbePoints() {
135: return new java.lang.String[] { "", "business-functions" };
136: }
137:
138: }
139:
140: }
|