xml/src/main/java/se/idsec/signservice/integration/document/xml/XadesQualifyingProperties.java
public static XadesQualifyingProperties createXadesQualifyingProperties() throws DocumentProcessingException {
    try {
      ObjectType dsObject = dsObjectFactory.createObjectType();
      QualifyingProperties qp = xadesObjectFactory.createQualifyingProperties();
      dsObject.getContent().add(JAXBMarshaller.marshall(qp).getDocumentElement());
      return new XadesQualifyingProperties(dsObject);
    }
    catch (JAXBException e) {
      final String msg = "Failed to marshall QualifyingProperties element";
      log.error("{}: {}", CorrelationID.id(), msg, e);
      throw new DocumentProcessingException(new ErrorCode.Code("invalid-ades-object"), msg, e);
    }
  }
/**
   * Creates a {@code XadesQualifyingProperties} with a {@code ds:Object} holding a {@code xades:QualifyingProperties}
   * with no content.
   * 
   * @return a XadesQualifyingProperties object
   * @throws DocumentProcessingException
   *           for protocol errors
   */
Creates a  XadesQualifyingProperties with a  ds:Object holding a  xades:QualifyingProperties
with no content.

@return a XadesQualifyingProperties object
@throws DocumentProcessingException
for protocol errors
Creates a XadesQualifyingProperties with a ds : Object holding a xades : QualifyingProperties with no content . @return a XadesQualifyingProperties object @throws DocumentProcessingException for protocol errors
public static XadesQualifyingProperties createXadesQualifyingProperties() throws DocumentProcessingException {
    try {
      ObjectType dsObject = dsObjectFactory.createObjectType();
      QualifyingProperties qp = xadesObjectFactory.createQualifyingProperties();
      dsObject.getContent().add(JAXBMarshaller.marshall(qp).getDocumentElement());
      return new XadesQualifyingProperties(dsObject);
    }
    catch (JAXBException e) {
      final String msg = "Failed to marshall QualifyingProperties element";
      log.error("{}: {}", CorrelationID.id(), msg, e);
      throw new DocumentProcessingException(new ErrorCode.Code("invalid-ades-object"), msg, e);
    }
  }
public static XadesQualifyingProperties createXadesQualifyingProperties ( ) throws DocumentProcessingException { try { ObjectType dsObject = dsObjectFactory . createObjectType ( ) ; QualifyingProperties qp = xadesObjectFactory . createQualifyingProperties ( ) ; dsObject . getContent ( ) . add ( JAXBMarshaller . marshall ( qp ) . getDocumentElement ( ) ) ; return new XadesQualifyingProperties ( dsObject ) ; } catch ( JAXBException e ) { final String msg = "Failed to marshall QualifyingProperties element" ; log . error ( "{}: {}" , CorrelationID . id ( ) , msg , e ) ; throw new DocumentProcessingException ( new ErrorCode . Code ( "invalid-ades-object" ) , msg , e ) ; } }
Creates a {@code XadesQualifyingProperties} with a {@code ds:Object} holding a {@code xades:QualifyingProperties}
 with no content.
Creates a { @code XadesQualifyingProperties } with a { @code ds : Object } holding a { @code xades : QualifyingProperties } with no content .