xades4j.utils
Class SigAndDataObjPropsPair<TSigProp,TDataObjProp>

java.lang.Object
  extended by xades4j.utils.SigAndDataObjPropsPair<TSigProp,TDataObjProp>
Direct Known Subclasses:
SigAndDataObjsPropertiesData, SignedProperties, UnsignedProperties

public abstract class SigAndDataObjPropsPair<TSigProp,TDataObjProp>
extends Object

Container for a pair of property collections (signature and data object).

Author:
Luís

Constructor Summary
protected SigAndDataObjPropsPair(Collection<TSigProp> sigProps, Collection<TDataObjProp> dataObjProps)
           
 
Method Summary
 Collection<TDataObjProp> getDataObjProps()
          Gets the unmodifiable collection of data object properties.
 Collection<TSigProp> getSigProps()
          Gets the unmodifiable collection of signature properties.
 boolean isEmpty()
          Indicates wether the container has properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SigAndDataObjPropsPair

protected SigAndDataObjPropsPair(Collection<TSigProp> sigProps,
                                 Collection<TDataObjProp> dataObjProps)
Method Detail

getSigProps

public Collection<TSigProp> getSigProps()
Gets the unmodifiable collection of signature properties.

Returns:
the signature properties

getDataObjProps

public Collection<TDataObjProp> getDataObjProps()
Gets the unmodifiable collection of data object properties.

Returns:
the data object properties

isEmpty

public boolean isEmpty()
Indicates wether the container has properties.

Returns:
true if there are no signature nor data object properties


Copyright © 2012. All Rights Reserved.