public class KeyReferenceImpl extends ReferenceTypeImpl implements KeyReference
KeyReference element that supports the
DOM XML representation and processing mechanism.DOMStructure.NodeWrappercontent_type_, uri_implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALED| Constructor and Description |
|---|
KeyReferenceImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
KeyReferenceImpl with the
specified context and node to unmarshal from. |
KeyReferenceImpl(String uri,
String type,
List content)
Creates a new instance of this
KeyReferenceImpl with the
specified URI reference, type-attribute value and list of
XMLStructures. |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalName()
Returns the local name of the represented XML element.
|
String |
getNamespace()
Returns the namespace URI of the represented XML element.
|
getChildStructures, getContent, putChildStructure, unmarshalStructuresgetHere, getType, getURI, marshalAttributes, unmarshalAttributesaddBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructureVersion, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalElement, marshalIDAttribute, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalElement, unmarshalIDAttribute, wrapNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContentisFeatureSupportedgetType, getURIpublic KeyReferenceImpl(DOMCryptoContext context, Node node) throws MarshalException
KeyReferenceImpl with the
specified context and node to unmarshal from.context - the contextnode - the node to unmarshal fromMarshalException - if an exception occurs during unmarshalingpublic KeyReferenceImpl(String uri, String type, List content)
KeyReferenceImpl with the
specified URI reference, type-attribute value and list of
XMLStructures.uri - the URI reference (must be RFC 2396 compliant)type - the type-attribute valuecontent - a list of XMLStructures (may be null or empty)IllegalArgumentException - if uri is not RFC 2396 compliantpublic String getLocalName()
DOMStructuregetLocalName in class DOMStructureDOMStructure.getLocalName()public String getNamespace()
DOMStructuregetNamespace in class DOMStructureDOMStructure.getNamespace()© 2002-2005 IAIK, © 2004, 2006 - 2019 Stiftung SIC