xades4j.xml.marshalling
Class DefaultSignedPropertiesMarshaller

java.lang.Object
  extended by xades4j.xml.marshalling.DefaultSignedPropertiesMarshaller
All Implemented Interfaces:
PropertiesMarshaller, SignedPropertiesMarshaller

public final class DefaultSignedPropertiesMarshaller
extends Object
implements SignedPropertiesMarshaller

Default implementation of SignedPropertiesMarshaller. Based on JAXB.

Supports all the signed properties data objects in the library (XAdES 1.4.1) plus the GenericDOMData.

Author:
Luís

Constructor Summary
DefaultSignedPropertiesMarshaller()
           
 
Method Summary
 void marshal(SigAndDataObjsPropertiesData signedProps, String signedPropsId, Node qualifyingPropsNode)
          Marshal a pair of collections of property data objects (signature and signed objects) into the QualifyingProperties node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSignedPropertiesMarshaller

public DefaultSignedPropertiesMarshaller()
Method Detail

marshal

public void marshal(SigAndDataObjsPropertiesData signedProps,
                    String signedPropsId,
                    Node qualifyingPropsNode)
             throws MarshalException
Description copied from interface: PropertiesMarshaller
Marshal a pair of collections of property data objects (signature and signed objects) into the QualifyingProperties node. Must create all the DOM structure below SignedProperties or UnsignedProperties, inclusive.

Specified by:
marshal in interface PropertiesMarshaller
Parameters:
signedProps - the data objects to be marshalled
signedPropsId - the identifier to be set on the top-most property container (SignedProperties or UnsignedProperties)
qualifyingPropsNode - the destination node
Throws:
MarshalException - if there's an error


Copyright © 2012. All Rights Reserved.