xml/src/main/java/se/idsec/signservice/integration/document/xml/XadesQualifyingProperties.java
public static XadesQualifyingProperties createXadesQualifyingProperties(final Element dsObject) throws DocumentProcessingException {
    try {
      return new XadesQualifyingProperties(JAXBUnmarshaller.unmarshall(dsObject, ObjectType.class));
    }
    catch (JAXBException e) {
      final String msg = "Invalid QualifyingProperties element found in XAdES object";
      log.error("{}: {}", CorrelationID.id(), msg, e);
      throw new DocumentProcessingException(new ErrorCode.Code("invalid-ades-object"), msg, e);
    }
  }
/**
   * Creates a {@code XadesQualifyingProperties} from a DOM element.
   * 
   * @param dsObject
   *          DOM element of the ds:Object holding the QualifyingProperties element
   * @return a XadesQualifyingProperties object
   * @throws DocumentProcessingException
   *           for protocol errors
   */
Creates a  XadesQualifyingProperties from a DOM element.

@param dsObject
DOM element of the ds:Object holding the QualifyingProperties element
@return a XadesQualifyingProperties object
@throws DocumentProcessingException
for protocol errors
Creates a XadesQualifyingProperties from a DOM element . @param dsObject DOM element of the ds : Object holding the QualifyingProperties element @return a XadesQualifyingProperties object @throws DocumentProcessingException for protocol errors
public static XadesQualifyingProperties createXadesQualifyingProperties(final Element dsObject) throws DocumentProcessingException {
    try {
      return new XadesQualifyingProperties(JAXBUnmarshaller.unmarshall(dsObject, ObjectType.class));
    }
    catch (JAXBException e) {
      final String msg = "Invalid QualifyingProperties element found in XAdES object";
      log.error("{}: {}", CorrelationID.id(), msg, e);
      throw new DocumentProcessingException(new ErrorCode.Code("invalid-ades-object"), msg, e);
    }
  }
public static XadesQualifyingProperties createXadesQualifyingProperties ( final Element dsObject ) throws DocumentProcessingException { try { return new XadesQualifyingProperties ( JAXBUnmarshaller . unmarshall ( dsObject , ObjectType . class ) ) ; } catch ( JAXBException e ) { final String msg = "Invalid QualifyingProperties element found in XAdES object" ; log . error ( "{}: {}" , CorrelationID . id ( ) , msg , e ) ; throw new DocumentProcessingException ( new ErrorCode . Code ( "invalid-ades-object" ) , msg , e ) ; } }
Creates a {@code XadesQualifyingProperties} from a DOM element.
Creates a { @code XadesQualifyingProperties } from a DOM element .