Class ObjectFactory


  • public class ObjectFactory
    extends DefaultJAXBContextImpl
    This object contains factory methods for each Java content interface and Java element interface generated in the com.sun.identity.saml2.jaxb.metadata 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.

    • Field Detail

      • grammarInfo

        public static final GrammarInfo grammarInfo
      • version

        public static final Class version
    • Constructor Detail

      • ObjectFactory

        public ObjectFactory()
        Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.identity.saml2.jaxb.metadata
    • Method Detail

      • newInstance

        public Object newInstance​(Class javaContentInterface)
                           throws javax.xml.bind.JAXBException
        Create an instance of the specified Java content interface.
        Overrides:
        newInstance in class DefaultJAXBContextImpl
        Parameters:
        javaContentInterface - the Class object of the javacontent interface to instantiate
        Returns:
        a new instance
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • getProperty

        public Object getProperty​(String name)
                           throws javax.xml.bind.PropertyException
        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.
        Overrides:
        getProperty in class DefaultJAXBContextImpl
        Parameters:
        name - the name of the property to retrieve
        Returns:
        the value of the requested property
        Throws:
        javax.xml.bind.PropertyException - when there is an error retrieving the given property or value
      • setProperty

        public void setProperty​(String name,
                                Object value)
                         throws javax.xml.bind.PropertyException
        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.
        Overrides:
        setProperty in class DefaultJAXBContextImpl
        Parameters:
        name - the name of the property to retrieve
        value - the value of the property to be set
        Throws:
        javax.xml.bind.PropertyException - when there is an error processing the given property or value
      • createEmailAddressElement

        public EmailAddressElement createEmailAddressElement()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of EmailAddressElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEmailAddressElement

        public EmailAddressElement createEmailAddressElement​(String value)
                                                      throws javax.xml.bind.JAXBException
        Create an instance of EmailAddressElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createKeyDescriptorType

        public KeyDescriptorType createKeyDescriptorType()
                                                  throws javax.xml.bind.JAXBException
        Create an instance of KeyDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createOrganizationElement

        public OrganizationElement createOrganizationElement()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of OrganizationElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createRoleDescriptorElement

        public RoleDescriptorElement createRoleDescriptorElement()
                                                          throws javax.xml.bind.JAXBException
        Create an instance of RoleDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEntitiesDescriptorType

        public EntitiesDescriptorType createEntitiesDescriptorType()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of EntitiesDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAssertionIDRequestServiceElement

        public AssertionIDRequestServiceElement createAssertionIDRequestServiceElement()
                                                                                throws javax.xml.bind.JAXBException
        Create an instance of AssertionIDRequestServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAdditionalMetadataLocationType

        public AdditionalMetadataLocationType createAdditionalMetadataLocationType()
                                                                            throws javax.xml.bind.JAXBException
        Create an instance of AdditionalMetadataLocationType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createSSODescriptorType

        public SSODescriptorType createSSODescriptorType()
                                                  throws javax.xml.bind.JAXBException
        Create an instance of SSODescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createArtifactResolutionServiceElement

        public ArtifactResolutionServiceElement createArtifactResolutionServiceElement()
                                                                                throws javax.xml.bind.JAXBException
        Create an instance of ArtifactResolutionServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEntitiesDescriptorElement

        public EntitiesDescriptorElement createEntitiesDescriptorElement()
                                                                  throws javax.xml.bind.JAXBException
        Create an instance of EntitiesDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createXACMLPDPDescriptorType

        public XACMLPDPDescriptorType createXACMLPDPDescriptorType()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of XACMLPDPDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createXACMLAuthzDecisionQueryDescriptorElement

        public XACMLAuthzDecisionQueryDescriptorElement createXACMLAuthzDecisionQueryDescriptorElement()
                                                                                                throws javax.xml.bind.JAXBException
        Create an instance of XACMLAuthzDecisionQueryDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createExtensionsElement

        public ExtensionsElement createExtensionsElement()
                                                  throws javax.xml.bind.JAXBException
        Create an instance of ExtensionsElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAttributeAuthorityDescriptorElement

        public AttributeAuthorityDescriptorElement createAttributeAuthorityDescriptorElement()
                                                                                      throws javax.xml.bind.JAXBException
        Create an instance of AttributeAuthorityDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAuthzServiceElement

        public AuthzServiceElement createAuthzServiceElement()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of AuthzServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createGivenNameElement

        public GivenNameElement createGivenNameElement()
                                                throws javax.xml.bind.JAXBException
        Create an instance of GivenNameElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createGivenNameElement

        public GivenNameElement createGivenNameElement​(String value)
                                                throws javax.xml.bind.JAXBException
        Create an instance of GivenNameElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createRoleDescriptorType

        public RoleDescriptorType createRoleDescriptorType()
                                                    throws javax.xml.bind.JAXBException
        Create an instance of RoleDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAuthnAuthorityDescriptorElement

        public AuthnAuthorityDescriptorElement createAuthnAuthorityDescriptorElement()
                                                                              throws javax.xml.bind.JAXBException
        Create an instance of AuthnAuthorityDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createLocalizedURIType

        public LocalizedURIType createLocalizedURIType()
                                                throws javax.xml.bind.JAXBException
        Create an instance of LocalizedURIType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createOrganizationDisplayNameElement

        public OrganizationDisplayNameElement createOrganizationDisplayNameElement()
                                                                            throws javax.xml.bind.JAXBException
        Create an instance of OrganizationDisplayNameElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createTelephoneNumberElement

        public TelephoneNumberElement createTelephoneNumberElement()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of TelephoneNumberElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createTelephoneNumberElement

        public TelephoneNumberElement createTelephoneNumberElement​(String value)
                                                            throws javax.xml.bind.JAXBException
        Create an instance of TelephoneNumberElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createPDPDescriptorType

        public PDPDescriptorType createPDPDescriptorType()
                                                  throws javax.xml.bind.JAXBException
        Create an instance of PDPDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createOrganizationType

        public OrganizationType createOrganizationType()
                                                throws javax.xml.bind.JAXBException
        Create an instance of OrganizationType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAttributeServiceElement

        public AttributeServiceElement createAttributeServiceElement()
                                                              throws javax.xml.bind.JAXBException
        Create an instance of AttributeServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createXACMLPDPDescriptorElement

        public XACMLPDPDescriptorElement createXACMLPDPDescriptorElement()
                                                                  throws javax.xml.bind.JAXBException
        Create an instance of XACMLPDPDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAffiliationDescriptorElement

        public AffiliationDescriptorElement createAffiliationDescriptorElement()
                                                                        throws javax.xml.bind.JAXBException
        Create an instance of AffiliationDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEntityDescriptorElement

        public EntityDescriptorElement createEntityDescriptorElement()
                                                              throws javax.xml.bind.JAXBException
        Create an instance of EntityDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionMethodElement

        public EncryptionMethodElement createEncryptionMethodElement()
                                                              throws javax.xml.bind.JAXBException
        Create an instance of EncryptionMethodElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createXACMLAuthzDecisionQueryDescriptorType

        public XACMLAuthzDecisionQueryDescriptorType createXACMLAuthzDecisionQueryDescriptorType()
                                                                                          throws javax.xml.bind.JAXBException
        Create an instance of XACMLAuthzDecisionQueryDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAssertionConsumerServiceElement

        public AssertionConsumerServiceElement createAssertionConsumerServiceElement()
                                                                              throws javax.xml.bind.JAXBException
        Create an instance of AssertionConsumerServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createIDPSSODescriptorElement

        public IDPSSODescriptorElement createIDPSSODescriptorElement()
                                                              throws javax.xml.bind.JAXBException
        Create an instance of IDPSSODescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createQueryDescriptorElement

        public QueryDescriptorElement createQueryDescriptorElement()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of QueryDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAuthnQueryServiceElement

        public AuthnQueryServiceElement createAuthnQueryServiceElement()
                                                                throws javax.xml.bind.JAXBException
        Create an instance of AuthnQueryServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createRequestedAttributeType

        public RequestedAttributeType createRequestedAttributeType()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of RequestedAttributeType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAttributeAuthorityDescriptorType

        public AttributeAuthorityDescriptorType createAttributeAuthorityDescriptorType()
                                                                                throws javax.xml.bind.JAXBException
        Create an instance of AttributeAuthorityDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createXACMLAuthzServiceElement

        public XACMLAuthzServiceElement createXACMLAuthzServiceElement()
                                                                throws javax.xml.bind.JAXBException
        Create an instance of XACMLAuthzServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAuthnAuthorityDescriptorType

        public AuthnAuthorityDescriptorType createAuthnAuthorityDescriptorType()
                                                                        throws javax.xml.bind.JAXBException
        Create an instance of AuthnAuthorityDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createOrganizationURLElement

        public OrganizationURLElement createOrganizationURLElement()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of OrganizationURLElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAttributeConsumingServiceType

        public AttributeConsumingServiceType createAttributeConsumingServiceType()
                                                                          throws javax.xml.bind.JAXBException
        Create an instance of AttributeConsumingServiceType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createSurNameElement

        public SurNameElement createSurNameElement()
                                            throws javax.xml.bind.JAXBException
        Create an instance of SurNameElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createSurNameElement

        public SurNameElement createSurNameElement​(String value)
                                            throws javax.xml.bind.JAXBException
        Create an instance of SurNameElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAdditionalMetadataLocationElement

        public AdditionalMetadataLocationElement createAdditionalMetadataLocationElement()
                                                                                  throws javax.xml.bind.JAXBException
        Create an instance of AdditionalMetadataLocationElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createNameIDFormatElement

        public NameIDFormatElement createNameIDFormatElement()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of NameIDFormatElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createNameIDFormatElement

        public NameIDFormatElement createNameIDFormatElement​(String value)
                                                      throws javax.xml.bind.JAXBException
        Create an instance of NameIDFormatElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEndpointType

        public EndpointType createEndpointType()
                                        throws javax.xml.bind.JAXBException
        Create an instance of EndpointType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createNameIDMappingServiceElement

        public NameIDMappingServiceElement createNameIDMappingServiceElement()
                                                                      throws javax.xml.bind.JAXBException
        Create an instance of NameIDMappingServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createSPSSODescriptorElement

        public SPSSODescriptorElement createSPSSODescriptorElement()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of SPSSODescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createExtensionsType

        public ExtensionsType createExtensionsType()
                                            throws javax.xml.bind.JAXBException
        Create an instance of ExtensionsType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createOrganizationNameElement

        public OrganizationNameElement createOrganizationNameElement()
                                                              throws javax.xml.bind.JAXBException
        Create an instance of OrganizationNameElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createManageNameIDServiceElement

        public ManageNameIDServiceElement createManageNameIDServiceElement()
                                                                    throws javax.xml.bind.JAXBException
        Create an instance of ManageNameIDServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createServiceDescriptionElement

        public ServiceDescriptionElement createServiceDescriptionElement()
                                                                  throws javax.xml.bind.JAXBException
        Create an instance of ServiceDescriptionElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createServiceNameElement

        public ServiceNameElement createServiceNameElement()
                                                    throws javax.xml.bind.JAXBException
        Create an instance of ServiceNameElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createContactPersonElement

        public ContactPersonElement createContactPersonElement()
                                                        throws javax.xml.bind.JAXBException
        Create an instance of ContactPersonElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createSPSSODescriptorType

        public SPSSODescriptorType createSPSSODescriptorType()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of SPSSODescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createCompanyElement

        public CompanyElement createCompanyElement()
                                            throws javax.xml.bind.JAXBException
        Create an instance of CompanyElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createCompanyElement

        public CompanyElement createCompanyElement​(String value)
                                            throws javax.xml.bind.JAXBException
        Create an instance of CompanyElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createQueryDescriptorType

        public QueryDescriptorType createQueryDescriptorType()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of QueryDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createContactType

        public ContactType createContactType()
                                      throws javax.xml.bind.JAXBException
        Create an instance of ContactType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createIDPSSODescriptorType

        public IDPSSODescriptorType createIDPSSODescriptorType()
                                                        throws javax.xml.bind.JAXBException
        Create an instance of IDPSSODescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createRequestedAttributeElement

        public RequestedAttributeElement createRequestedAttributeElement()
                                                                  throws javax.xml.bind.JAXBException
        Create an instance of RequestedAttributeElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createSingleLogoutServiceElement

        public SingleLogoutServiceElement createSingleLogoutServiceElement()
                                                                    throws javax.xml.bind.JAXBException
        Create an instance of SingleLogoutServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAttributeConsumingServiceElement

        public AttributeConsumingServiceElement createAttributeConsumingServiceElement()
                                                                                throws javax.xml.bind.JAXBException
        Create an instance of AttributeConsumingServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createSingleSignOnServiceElement

        public SingleSignOnServiceElement createSingleSignOnServiceElement()
                                                                    throws javax.xml.bind.JAXBException
        Create an instance of SingleSignOnServiceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createLocalizedNameType

        public LocalizedNameType createLocalizedNameType()
                                                  throws javax.xml.bind.JAXBException
        Create an instance of LocalizedNameType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createKeyDescriptorElement

        public KeyDescriptorElement createKeyDescriptorElement()
                                                        throws javax.xml.bind.JAXBException
        Create an instance of KeyDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAttributeProfileElement

        public AttributeProfileElement createAttributeProfileElement()
                                                              throws javax.xml.bind.JAXBException
        Create an instance of AttributeProfileElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAttributeProfileElement

        public AttributeProfileElement createAttributeProfileElement​(String value)
                                                              throws javax.xml.bind.JAXBException
        Create an instance of AttributeProfileElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createPDPDescriptorElement

        public PDPDescriptorElement createPDPDescriptorElement()
                                                        throws javax.xml.bind.JAXBException
        Create an instance of PDPDescriptorElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEntityDescriptorType

        public EntityDescriptorType createEntityDescriptorType()
                                                        throws javax.xml.bind.JAXBException
        Create an instance of EntityDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAffiliationDescriptorType

        public AffiliationDescriptorType createAffiliationDescriptorType()
                                                                  throws javax.xml.bind.JAXBException
        Create an instance of AffiliationDescriptorType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAffiliateMemberElement

        public AffiliateMemberElement createAffiliateMemberElement()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of AffiliateMemberElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAffiliateMemberElement

        public AffiliateMemberElement createAffiliateMemberElement​(String value)
                                                            throws javax.xml.bind.JAXBException
        Create an instance of AffiliateMemberElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createIndexedEndpointType

        public IndexedEndpointType createIndexedEndpointType()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of IndexedEndpointType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAttributeServiceType

        public AttributeServiceType createAttributeServiceType()
                                                        throws javax.xml.bind.JAXBException
        Create an instance of AttributeServiceType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs