public class DocumentationReferenceImpl extends XadesDOMStructure implements DOMURIReference
DocumentationReference
that supports
the DOM XML representation and marshaling mechanism.Constructor and Description |
---|
DocumentationReferenceImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
DocumentationReferenceImpl with
the given context and node. |
DocumentationReferenceImpl(String uri)
Creates a new instance of this
DocumentationReferenceImpl with
the given URI reference. |
Modifier and Type | Method and Description |
---|---|
Node |
getHere() |
String |
getLocalName() |
String |
getType() |
String |
getURI() |
protected Element |
marshalElement(DOMCryptoContext context,
Node parent,
Node nextSibling) |
protected void |
unmarshalElement(DOMCryptoContext context,
Element element) |
getInstance, getNamespace, getParentQualifyingPropertiesOf, getParentSignatureOf
addBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructures, getChildStructureVersion, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalAttributes, marshalIDAttribute, newIDforLookUp, putChildStructure, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalAttributes, unmarshalIDAttribute, unmarshalStructures, wrapNode
public DocumentationReferenceImpl(DOMCryptoContext context, Node node) throws MarshalException
DocumentationReferenceImpl
with
the given context and node.context
- the contextnode
- the node to unmarshal fromMarshalException
- if an exception occurs during unmarshalingpublic DocumentationReferenceImpl(String uri)
DocumentationReferenceImpl
with
the given URI reference.uri
- the URI referenceNullPointerException
- if uri
is null
IllegalArgumentException
- if uri
is not RFC 2396 complaintpublic String getURI()
getURI
in interface URIReference
URIReference.getURI()
public String getType()
getType
in interface URIReference
URIReference.getType()
public Node getHere()
getHere
in interface DOMURIReference
getHere
in class iaik.xml.crypto.dom.DOMStructure
{@inheritDoc}
public String getLocalName()
getLocalName
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getLocalName()
protected Element marshalElement(DOMCryptoContext context, Node parent, Node nextSibling) throws MarshalException
marshalElement
in class iaik.xml.crypto.dom.DOMStructure
parent
- nextSibling
- MarshalException
DOMStructure.marshalElement(DOMCryptoContext,
Node, Node)
protected void unmarshalElement(DOMCryptoContext context, Element element) throws MarshalException
unmarshalElement
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.unmarshalElement(DOMCryptoContext,
org.w3c.dom.Element)
© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC