xades4j.xml.unmarshalling
Class DefaultQualifyingPropertiesUnmarshaller
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultQualifyingPropertiesUnmarshaller
public DefaultQualifyingPropertiesUnmarshaller()
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 elementpropertyDataCollector - 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.