xades4j.xml.unmarshalling
Class DefaultQualifyingPropertiesUnmarshaller

java.lang.Object
  extended by xades4j.xml.unmarshalling.DefaultQualifyingPropertiesUnmarshaller
All Implemented Interfaces:
QualifyingPropertiesUnmarshaller

public final class DefaultQualifyingPropertiesUnmarshaller
extends Object
implements QualifyingPropertiesUnmarshaller

Default implementation of QualifyingPropertiesUnmarshaller. Based on JAXB.

Supports all the unsigned properties data objects up to XAdES-C, except SignerRole and attributes validation data properties.

Author:
Luís

Constructor Summary
DefaultQualifyingPropertiesUnmarshaller()
           
 
Method Summary
 void setAcceptUnknownProperties(boolean accept)
          Indicates if unknown unsigend properties should be accepted.
 void unmarshalProperties(Element qualifyingProps, QualifyingPropertiesDataCollector propertyDataCollector)
          Unmarshal the properties in the given QualifyingProperties node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultQualifyingPropertiesUnmarshaller

public DefaultQualifyingPropertiesUnmarshaller()
Method Detail

unmarshalProperties

public void unmarshalProperties(Element qualifyingProps,
                                QualifyingPropertiesDataCollector propertyDataCollector)
                         throws UnmarshalException
Description copied from interface: QualifyingPropertiesUnmarshaller
Unmarshal the properties in the given QualifyingProperties node. The resulting property data objects should be added to the collector.

Specified by:
unmarshalProperties in interface QualifyingPropertiesUnmarshaller
Parameters:
qualifyingProps - the qualifying properties element
propertyDataCollector - the collector of property data objects
Throws:
UnmarshalException - if there's an error (may be PropertyUnmarshalException)

setAcceptUnknownProperties

public void setAcceptUnknownProperties(boolean accept)
Description copied from interface: QualifyingPropertiesUnmarshaller
Indicates if unknown unsigend properties should be accepted. If so, they should be returned with instances of GenericDOMData.

Specified by:
setAcceptUnknownProperties in interface QualifyingPropertiesUnmarshaller
Parameters:
accept - true if unknown properties should be accepted


Copyright © 2012. All Rights Reserved.