xades4j.xml.marshalling
Class DefaultUnsignedPropertiesMarshaller

java.lang.Object
  extended by xades4j.xml.marshalling.DefaultUnsignedPropertiesMarshaller
All Implemented Interfaces:
PropertiesMarshaller, UnsignedPropertiesMarshaller

public class DefaultUnsignedPropertiesMarshaller
extends Object
implements UnsignedPropertiesMarshaller

Default implementation of UnsignedPropertiesMarshaller. Based on JAXB.

Supports all the property data obejcts corresponding to XAdES 1.4.1 up to XAdES-C (except attribute validation data refs) plus GenericDOMData.

Author:
Luís

Constructor Summary
DefaultUnsignedPropertiesMarshaller()
           
 
Method Summary
 void marshal(SigAndDataObjsPropertiesData props, String propsId, 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

DefaultUnsignedPropertiesMarshaller

public DefaultUnsignedPropertiesMarshaller()
Method Detail

marshal

public void marshal(SigAndDataObjsPropertiesData props,
                    String propsId,
                    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:
props - the data objects to be marshalled
propsId - 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.