ObjectFactory.java :  » J2EE » Jaffa » org » jaffa » security » securityrolesdomain » Java Open Source

Java Open Source » J2EE » Jaffa 
Jaffa » org » jaffa » security » securityrolesdomain » ObjectFactory.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0 
// 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: 2003.03.06 at 09:44:44 PST 
//


package org.jaffa.security.securityrolesdomain;


/**
 * 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.
 * 
 */
public class ObjectFactory
    extends com.sun.xml.bind.DefaultJAXBContextImpl
{

    private static java.util.HashMap defaultImplementations = new java.util.HashMap();

    static {
        defaultImplementations.put((org.jaffa.security.securityrolesdomain.RolesType.class), (org.jaffa.security.securityrolesdomain.impl.RolesTypeImpl.class));
        defaultImplementations.put((org.jaffa.security.securityrolesdomain.Include.class), (org.jaffa.security.securityrolesdomain.impl.IncludeImpl.class));
        defaultImplementations.put((org.jaffa.security.securityrolesdomain.Role.class), (org.jaffa.security.securityrolesdomain.impl.RoleImpl.class));
        defaultImplementations.put((org.jaffa.security.securityrolesdomain.Exclude.class), (org.jaffa.security.securityrolesdomain.impl.ExcludeImpl.class));
        defaultImplementations.put((org.jaffa.security.securityrolesdomain.GrantFunctionAccess.class), (org.jaffa.security.securityrolesdomain.impl.GrantFunctionAccessImpl.class));
        defaultImplementations.put((org.jaffa.security.securityrolesdomain.Roles.class), (org.jaffa.security.securityrolesdomain.impl.RolesImpl.class));
    }

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jaffa.security.securityrolesdomain
     * 
     */
    public ObjectFactory() {
        super(new org.jaffa.security.securityrolesdomain.ObjectFactory.GrammarInfoImpl());
    }

    /**
     * Create an instance of the specified Java content interface.
     * 
     * @param javaContentInterface the Class object of the javacontent interface to instantiate
     * @return a new instance
     * @throws JAXBException if an error occurs
     */
    public java.lang.Object newInstance(java.lang.Class javaContentInterface)
        throws javax.xml.bind.JAXBException
    {
        return super.newInstance(javaContentInterface);
    }

    /**
     * Get the specified property. This method can only be
     * used to get provider specific properties.
     * Attempting to get an undefined property will result
     * in a PropertyException being thrown.
     * 
     * @param name the name of the property to retrieve
     * @return the value of the requested property
     * @throws PropertyException when there is an error retrieving the given property or value
     */
    public java.lang.Object getProperty(java.lang.String name)
        throws javax.xml.bind.PropertyException
    {
        return super.getProperty(name);
    }

    /**
     * Set the specified property. This method can only be
     * used to set provider specific properties.
     * Attempting to set an undefined property will result
     * in a PropertyException being thrown.
     * 
     * @param name the name of the property to retrieve
     * @param value the value of the property to be set
     * @throws PropertyException when there is an error processing the given property or value
     */
    public void setProperty(java.lang.String name, java.lang.Object value)
        throws javax.xml.bind.PropertyException
    {
        super.setProperty(name, value);
    }

    /**
     * Create an instance of RolesType
     * 
     * @throws JAXBException if an error occurs
     */
    public org.jaffa.security.securityrolesdomain.RolesType createRolesType()
        throws javax.xml.bind.JAXBException
    {
        return ((org.jaffa.security.securityrolesdomain.RolesType) newInstance((org.jaffa.security.securityrolesdomain.RolesType.class)));
    }

    /**
     * Create an instance of Include
     * 
     * @throws JAXBException if an error occurs
     */
    public org.jaffa.security.securityrolesdomain.Include createInclude()
        throws javax.xml.bind.JAXBException
    {
        return ((org.jaffa.security.securityrolesdomain.Include) newInstance((org.jaffa.security.securityrolesdomain.Include.class)));
    }

    /**
     * Create an instance of Role
     * 
     * @throws JAXBException if an error occurs
     */
    public org.jaffa.security.securityrolesdomain.Role createRole()
        throws javax.xml.bind.JAXBException
    {
        return ((org.jaffa.security.securityrolesdomain.Role) newInstance((org.jaffa.security.securityrolesdomain.Role.class)));
    }

    /**
     * Create an instance of Exclude
     * 
     * @throws JAXBException if an error occurs
     */
    public org.jaffa.security.securityrolesdomain.Exclude createExclude()
        throws javax.xml.bind.JAXBException
    {
        return ((org.jaffa.security.securityrolesdomain.Exclude) newInstance((org.jaffa.security.securityrolesdomain.Exclude.class)));
    }

    /**
     * Create an instance of GrantFunctionAccess
     * 
     * @throws JAXBException if an error occurs
     */
    public org.jaffa.security.securityrolesdomain.GrantFunctionAccess createGrantFunctionAccess()
        throws javax.xml.bind.JAXBException
    {
        return ((org.jaffa.security.securityrolesdomain.GrantFunctionAccess) newInstance((org.jaffa.security.securityrolesdomain.GrantFunctionAccess.class)));
    }

    /**
     * Create an instance of Roles
     * 
     * @throws JAXBException if an error occurs
     */
    public org.jaffa.security.securityrolesdomain.Roles createRoles()
        throws javax.xml.bind.JAXBException
    {
        return ((org.jaffa.security.securityrolesdomain.Roles) newInstance((org.jaffa.security.securityrolesdomain.Roles.class)));
    }

    private static class GrammarInfoImpl
        extends com.sun.xml.bind.GrammarInfo
    {


        public java.lang.Class getDefaultImplementation(java.lang.Class javaContentInterface) {
            return ((java.lang.Class) defaultImplementations.get(javaContentInterface));
        }

        public java.lang.Class getRootElement(java.lang.String uri, java.lang.String local) {
            if (("" == uri)&&("roles" == local)) {
                return (org.jaffa.security.securityrolesdomain.impl.RolesImpl.class);
            }
            return null;
        }

        public java.lang.String[] getProbePoints() {
            return new java.lang.String[] {"", "roles"};
        }

    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.