// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2003.05.09 at 08:21:39 CST // package com.sns.mhb.rnif.common.preamble; /** * This object contains factory methods for each Java content interface and Java element interface generated in the com.sns.mhb.rnif.common.preamble package.

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((com.sns.mhb.rnif.common.preamble.GlobalAdministeringAuthorityCode.class), (com.sns.mhb.rnif.common.preamble.impl.GlobalAdministeringAuthorityCodeImpl.class)); defaultImplementations.put((com.sns.mhb.rnif.common.preamble.StandardVersionType.class), (com.sns.mhb.rnif.common.preamble.impl.StandardVersionTypeImpl.class)); defaultImplementations.put((com.sns.mhb.rnif.common.preamble.VersionIdentifier.class), (com.sns.mhb.rnif.common.preamble.impl.VersionIdentifierImpl.class)); defaultImplementations.put((com.sns.mhb.rnif.common.preamble.PreambleType.class), (com.sns.mhb.rnif.common.preamble.impl.PreambleTypeImpl.class)); defaultImplementations.put((com.sns.mhb.rnif.common.preamble.StandardNameType.class), (com.sns.mhb.rnif.common.preamble.impl.StandardNameTypeImpl.class)); defaultImplementations.put((com.sns.mhb.rnif.common.preamble.StandardName.class), (com.sns.mhb.rnif.common.preamble.impl.StandardNameImpl.class)); defaultImplementations.put((com.sns.mhb.rnif.common.preamble.Preamble.class), (com.sns.mhb.rnif.common.preamble.impl.PreambleImpl.class)); defaultImplementations.put((com.sns.mhb.rnif.common.preamble.StandardVersion.class), (com.sns.mhb.rnif.common.preamble.impl.StandardVersionImpl.class)); } /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sns.mhb.rnif.common.preamble * */ public ObjectFactory() { super(new com.sns.mhb.rnif.common.preamble.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 GlobalAdministeringAuthorityCode * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.GlobalAdministeringAuthorityCode createGlobalAdministeringAuthorityCode() throws javax.xml.bind.JAXBException { return ((com.sns.mhb.rnif.common.preamble.GlobalAdministeringAuthorityCode) newInstance((com.sns.mhb.rnif.common.preamble.GlobalAdministeringAuthorityCode.class))); } /** * Create an instance of GlobalAdministeringAuthorityCode * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.GlobalAdministeringAuthorityCode createGlobalAdministeringAuthorityCode(java.lang.String value) throws javax.xml.bind.JAXBException { return new com.sns.mhb.rnif.common.preamble.impl.GlobalAdministeringAuthorityCodeImpl(value); } /** * Create an instance of StandardVersionType * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.StandardVersionType createStandardVersionType() throws javax.xml.bind.JAXBException { return ((com.sns.mhb.rnif.common.preamble.StandardVersionType) newInstance((com.sns.mhb.rnif.common.preamble.StandardVersionType.class))); } /** * Create an instance of VersionIdentifier * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.VersionIdentifier createVersionIdentifier() throws javax.xml.bind.JAXBException { return ((com.sns.mhb.rnif.common.preamble.VersionIdentifier) newInstance((com.sns.mhb.rnif.common.preamble.VersionIdentifier.class))); } /** * Create an instance of VersionIdentifier * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.VersionIdentifier createVersionIdentifier(java.lang.String value) throws javax.xml.bind.JAXBException { return new com.sns.mhb.rnif.common.preamble.impl.VersionIdentifierImpl(value); } /** * Create an instance of PreambleType * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.PreambleType createPreambleType() throws javax.xml.bind.JAXBException { return ((com.sns.mhb.rnif.common.preamble.PreambleType) newInstance((com.sns.mhb.rnif.common.preamble.PreambleType.class))); } /** * Create an instance of StandardNameType * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.StandardNameType createStandardNameType() throws javax.xml.bind.JAXBException { return ((com.sns.mhb.rnif.common.preamble.StandardNameType) newInstance((com.sns.mhb.rnif.common.preamble.StandardNameType.class))); } /** * Create an instance of StandardName * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.StandardName createStandardName() throws javax.xml.bind.JAXBException { return ((com.sns.mhb.rnif.common.preamble.StandardName) newInstance((com.sns.mhb.rnif.common.preamble.StandardName.class))); } /** * Create an instance of Preamble * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.Preamble createPreamble() throws javax.xml.bind.JAXBException { return ((com.sns.mhb.rnif.common.preamble.Preamble) newInstance((com.sns.mhb.rnif.common.preamble.Preamble.class))); } /** * Create an instance of StandardVersion * * @throws JAXBException if an error occurs */ public com.sns.mhb.rnif.common.preamble.StandardVersion createStandardVersion() throws javax.xml.bind.JAXBException { return ((com.sns.mhb.rnif.common.preamble.StandardVersion) newInstance((com.sns.mhb.rnif.common.preamble.StandardVersion.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)&&("Preamble" == local)) { return (com.sns.mhb.rnif.common.preamble.impl.PreambleImpl.class); } if (("" == uri)&&("GlobalAdministeringAuthorityCode" == local)) { return (com.sns.mhb.rnif.common.preamble.impl.GlobalAdministeringAuthorityCodeImpl.class); } if (("" == uri)&&("standardName" == local)) { return (com.sns.mhb.rnif.common.preamble.impl.StandardNameImpl.class); } if (("" == uri)&&("standardVersion" == local)) { return (com.sns.mhb.rnif.common.preamble.impl.StandardVersionImpl.class); } if (("" == uri)&&("VersionIdentifier" == local)) { return (com.sns.mhb.rnif.common.preamble.impl.VersionIdentifierImpl.class); } return null; } public java.lang.String[] getProbePoints() { return new java.lang.String[] {"", "Preamble", "", "GlobalAdministeringAuthorityCode", "", "standardName", "", "standardVersion", "", "VersionIdentifier"}; } } }