Class XMLObjectBuilders

java.lang.Object
com.atlassian.crowd.sso.saml.impl.opensaml.util.XMLObjectBuilders

public final class XMLObjectBuilders extends Object
Utility class simplifying building XMLObject and SAMLObject.
  • Method Details

    • getSAMLObjectBuilderOrThrow

      public static <T extends org.opensaml.saml.common.SAMLObject> org.opensaml.saml.common.SAMLObjectBuilder<T> getSAMLObjectBuilderOrThrow(@Nonnull QName key)
    • buildSAMLObjectOrThrow

      public static <T extends org.opensaml.saml.common.SAMLObject> T buildSAMLObjectOrThrow(@Nonnull QName key)
    • buildXMLObjectOrThrow

      public static <T extends org.opensaml.core.xml.XMLObject> T buildXMLObjectOrThrow(@Nonnull QName key, @Nonnull QName objectName, @Nonnull QName schemaType)
    • getXMLObjectBuilderOrThrow

      public static <T extends org.opensaml.core.xml.XMLObject> org.opensaml.core.xml.XMLObjectBuilder<T> getXMLObjectBuilderOrThrow(@Nonnull QName key)