public class ReferenceListImpl extends XencDOMStructure
ReferenceList element that supports the
DOM XML representation and processing mechanism.DOMStructure.NodeWrapper| Modifier and Type | Field and Description |
|---|---|
protected List |
references_
The list of references.
|
implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALED| Constructor and Description |
|---|
ReferenceListImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
ReferenceListImpl with the
specified context and node to unmarshal from. |
ReferenceListImpl(List references)
Creates a new instance of this
ReferenceListImpl with the
specified and list of DataReferenceImpls and
KeyReferenceImpls. |
| Modifier and Type | Method and Description |
|---|---|
protected List |
getChildStructures()
Returns the list of child structures of this
DOMStructure. |
String |
getLocalName()
Returns the local name of the represented XML element.
|
List |
getReferences()
Returns the list of references.
|
protected void |
putChildStructure(DOMStructure childStructure)
Put an unmarshalled child structure.
|
getNamespace, initaddBytesToElement, 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, unmarshalStructures, wrapNodeprotected List references_
null)public ReferenceListImpl(DOMCryptoContext context, Node node) throws MarshalException
ReferenceListImpl with the
specified context and node to unmarshal from.context - the contextnode - the node to unmarshal fromMarshalException - if an exception occurs during unmarshalingpublic ReferenceListImpl(List references)
ReferenceListImpl with the
specified and list of DataReferenceImpls and
KeyReferenceImpls.references - a list of DataReferenceImpls and KeyReferenceImplsNullPointerException - if references is nullIllegalArgumentException - if references is emptyClassCastException - if any of the references is not of type
DataReferenceImpl or KeyReferenceImplpublic List getReferences()
DataReferenceImpls and KeyReferenceImplspublic String getLocalName()
DOMStructuregetLocalName in class DOMStructureDOMStructure.getLocalName()protected List getChildStructures()
DOMStructureDOMStructure.
This method is called by DOMStructure.marshal(DOMCryptoContext, Node, Node).
A subclass has to overwrite this method to return a list of
DOMStrucutres represented by this subclass.
getChildStructures in class DOMStructureDOMStructures (may be empty, but never
null)DOMStructure.getChildStructures()protected void putChildStructure(DOMStructure childStructure) throws MarshalException
DOMStructure
This method is called by
DOMStructure.unmarshalStructures(NodeList, DOMCryptoContext) for every
unmarshalled child structure.
A subclass has to overwrite this method to store the given child structure in its the corresponding field.
putChildStructure in class DOMStructurechildStructure - the unmarshalled child structureMarshalExceptionDOMStructure.putChildStructure(iaik.xml.crypto.dom.DOMStructure)© 2002-2005 IAIK, © 2004, 2006 - 2019 Stiftung SIC