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.wsfederation.jaxb.wsse 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.wsfederation.jaxb.wsse
    • 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
      • createEmbeddedType

        public EmbeddedType createEmbeddedType()
                                        throws JAXBException
        Create an instance of EmbeddedType
        Throws:
        JAXBException - if an error occurs
      • createReferenceType

        public ReferenceType createReferenceType()
                                          throws JAXBException
        Create an instance of ReferenceType
        Throws:
        JAXBException - if an error occurs
      • createBinarySecurityTokenElement

        public BinarySecurityTokenElement createBinarySecurityTokenElement()
                                                                    throws JAXBException
        Create an instance of BinarySecurityTokenElement
        Throws:
        JAXBException - if an error occurs
      • createSecurityElement

        public SecurityElement createSecurityElement()
                                              throws JAXBException
        Create an instance of SecurityElement
        Throws:
        JAXBException - if an error occurs
      • createSecurityHeaderType

        public SecurityHeaderType createSecurityHeaderType()
                                                    throws JAXBException
        Create an instance of SecurityHeaderType
        Throws:
        JAXBException - if an error occurs
      • createEmbeddedElement

        public EmbeddedElement createEmbeddedElement()
                                              throws JAXBException
        Create an instance of EmbeddedElement
        Throws:
        JAXBException - if an error occurs
      • createUsernameTokenElement

        public UsernameTokenElement createUsernameTokenElement()
                                                        throws JAXBException
        Create an instance of UsernameTokenElement
        Throws:
        JAXBException - if an error occurs
      • createTransformationParametersType

        public TransformationParametersType createTransformationParametersType()
                                                                        throws JAXBException
        Create an instance of TransformationParametersType
        Throws:
        JAXBException - if an error occurs
      • createTransformationParametersElement

        public TransformationParametersElement createTransformationParametersElement()
                                                                              throws JAXBException
        Create an instance of TransformationParametersElement
        Throws:
        JAXBException - if an error occurs
      • createEncodedString

        public EncodedString createEncodedString()
                                          throws JAXBException
        Create an instance of EncodedString
        Throws:
        JAXBException - if an error occurs
      • createPasswordElement

        public PasswordElement createPasswordElement()
                                              throws JAXBException
        Create an instance of PasswordElement
        Throws:
        JAXBException - if an error occurs
      • createSecurityTokenReferenceElement

        public SecurityTokenReferenceElement createSecurityTokenReferenceElement()
                                                                          throws JAXBException
        Create an instance of SecurityTokenReferenceElement
        Throws:
        JAXBException - if an error occurs
      • createSecurityTokenReferenceType

        public SecurityTokenReferenceType createSecurityTokenReferenceType()
                                                                    throws JAXBException
        Create an instance of SecurityTokenReferenceType
        Throws:
        JAXBException - if an error occurs
      • createPasswordString

        public PasswordString createPasswordString()
                                            throws JAXBException
        Create an instance of PasswordString
        Throws:
        JAXBException - if an error occurs
      • createKeyIdentifierElement

        public KeyIdentifierElement createKeyIdentifierElement()
                                                        throws JAXBException
        Create an instance of KeyIdentifierElement
        Throws:
        JAXBException - if an error occurs
      • createBinarySecurityTokenType

        public BinarySecurityTokenType createBinarySecurityTokenType()
                                                              throws JAXBException
        Create an instance of BinarySecurityTokenType
        Throws:
        JAXBException - if an error occurs
      • createReferenceElement

        public ReferenceElement createReferenceElement()
                                                throws JAXBException
        Create an instance of ReferenceElement
        Throws:
        JAXBException - if an error occurs
      • createNonceElement

        public NonceElement createNonceElement()
                                        throws JAXBException
        Create an instance of NonceElement
        Throws:
        JAXBException - if an error occurs
      • createAttributedString

        public AttributedString createAttributedString()
                                                throws JAXBException
        Create an instance of AttributedString
        Throws:
        JAXBException - if an error occurs
      • createUsernameTokenType

        public UsernameTokenType createUsernameTokenType()
                                                  throws JAXBException
        Create an instance of UsernameTokenType
        Throws:
        JAXBException - if an error occurs
      • createKeyIdentifierType

        public KeyIdentifierType createKeyIdentifierType()
                                                  throws JAXBException
        Create an instance of KeyIdentifierType
        Throws:
        JAXBException - if an error occurs