public abstract class CompleteCertificateRefsTypeV2Impl extends XadesDOMStructure
Constructor and Description |
---|
CompleteCertificateRefsTypeV2Impl(DOMCryptoContext context,
Node node)
Creates a new instance of this
CompleteCertificateRefsTypeImpl
with the given context and node. |
CompleteCertificateRefsTypeV2Impl(List certRefs,
String id)
Creates a new instance of this
CompleteCertificateRefsImpl
with the given list of CertIDV2Impl s and id -attribute
value. |
Modifier and Type | Method and Description |
---|---|
List |
getCertRefs() |
protected List |
getChildStructures() |
String |
getId() |
protected Attr |
marshalIDAttribute(DOMCryptoContext context,
Element parent) |
protected void |
putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) |
protected void |
unmarshalAttributes(NamedNodeMap attributes,
DOMCryptoContext context) |
protected void |
unmarshalStructures(NodeList nodes,
DOMCryptoContext context)
Overwrites
unmarshalStructures(NodeList, DOMCryptoContext) because
child CertRefsV2 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, getLocalName, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalAttributes, marshalElement, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalElement, unmarshalIDAttribute, wrapNode
public CompleteCertificateRefsTypeV2Impl(DOMCryptoContext context, Node node) throws MarshalException
CompleteCertificateRefsTypeImpl
with the given context and node.context
- the contextnode
- the node to unmarshal fromMarshalException
- if an exception occurs during unmarshalingpublic CompleteCertificateRefsTypeV2Impl(List certRefs, String id)
CompleteCertificateRefsImpl
with the given list of CertIDV2Impl
s and id
-attribute
value.certRefs
- a list of CertIDV2Impl
sid
- the id
-attribute value (may be null
)NullPointerException
- if config
or certRefs
is
null
IllegalArgumentException
- if certRefs
is emptyClassCastException
- if certRefs
contains any elements not of type
CertIDV2Impl
public String getId()
CompleteCertificateRefs.getId()
public List getCertRefs()
CompleteCertificateRefs.getCertRefs()
protected Attr marshalIDAttribute(DOMCryptoContext context, Element parent)
marshalIDAttribute
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.marshalIDAttribute(DOMCryptoContext,
Element)
protected void unmarshalStructures(NodeList nodes, DOMCryptoContext context) throws MarshalException
unmarshalStructures(NodeList, DOMCryptoContext)
because
child CertRefsV2
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)
protected void unmarshalAttributes(NamedNodeMap attributes, DOMCryptoContext context) throws MarshalException
unmarshalAttributes
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.unmarshalAttributes(org.w3c.dom.NamedNodeMap,
DOMCryptoContext)
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)
© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC