xades4j.xml.unmarshalling
Interface QualifyingPropertiesUnmarshaller

All Known Implementing Classes:
DefaultQualifyingPropertiesUnmarshaller

public interface QualifyingPropertiesUnmarshaller

Interface for unmarshallers of property data objects.

Author:
Luís

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.
 

Method Detail

setAcceptUnknownProperties

void setAcceptUnknownProperties(boolean accept)
Indicates if unknown unsigend properties should be accepted. If so, they should be returned with instances of GenericDOMData.

Parameters:
accept - true if unknown properties should be accepted

unmarshalProperties

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

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


Copyright © 2012. All Rights Reserved.