public class CertifiedRolesV2Impl extends XadesDOMStructure
CertifiedRolesV2
element that supports
the DOM XML representation and processing mechanism.Modifier and Type | Field and Description |
---|---|
static String |
LOCAL_NAME |
Constructor and Description |
---|
CertifiedRolesV2Impl(DOMCryptoContext context,
Node node)
Creates a new instance of this
CertifiedRolesV2Impl with the
given context and node. |
CertifiedRolesV2Impl(List certifiedRoles)
Creates a new instance of this
CertifiedRolesV2Impl with the
given a list of CertifiedRoleV2Impl s. |
Modifier and Type | Method and Description |
---|---|
List |
getCertifiedRoles()
Returns the certified roles.
|
protected List |
getChildStructures() |
String |
getLocalName() |
protected void |
putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) |
protected void |
unmarshalStructures(NodeList nodes,
DOMCryptoContext context)
Overwrites
unmarshalStructures(NodeList, DOMCryptoContext) because
child CertifiedRoleV2 implementing class is not registered with
the local name of the corresponding child element. |
getInstance, getNamespace, getParentQualifyingPropertiesOf, getParentSignatureOf
addBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalAttributes, marshalElement, marshalIDAttribute, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalAttributes, unmarshalElement, unmarshalIDAttribute, wrapNode
public static final String LOCAL_NAME
public CertifiedRolesV2Impl(DOMCryptoContext context, Node node) throws MarshalException
CertifiedRolesV2Impl
with the
given context and node.context
- the contextnode
- the node to unmarshal fromMarshalException
- if an exception occurs during unmarshalingpublic CertifiedRolesV2Impl(List certifiedRoles)
CertifiedRolesV2Impl
with the
given a list of CertifiedRoleV2Impl
s.certifiedRoles
- a list of CertifiedRoleV2Impl
sNullPointerException
- if config
or certifiedRoles
is
null
IllegalArgumentException
- is certifiedRoles
is emptyClassCastException
- if certifiedRoles
contains any elements not of type
CertifiedRoleV2Impl
public List getCertifiedRoles()
CertifiedRoleImpl
s.public String getLocalName()
getLocalName
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getLocalName()
protected List getChildStructures()
getChildStructures
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getChildStructures()
protected void putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) throws MarshalException
putChildStructure
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.putChildStructure(DOMStructure)
protected void unmarshalStructures(NodeList nodes, DOMCryptoContext context) throws MarshalException
unmarshalStructures(NodeList, DOMCryptoContext)
because
child CertifiedRoleV2
implementing class is not registered with
the local name of the corresponding child element.unmarshalStructures
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
unmarshalStructures(NodeList, DOMCryptoContext)
© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC