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 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:
        JAXBException - if an error occurs
      • getProperty

        public Object getProperty​(String name)
                           throws 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:
        PropertyException - when there is an error retrieving the given property or value
      • setProperty

        public void setProperty​(String name,
                                Object value)
                         throws 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:
        PropertyException - when there is an error processing the given property or value
      • createEmailAddressElement

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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