Class SignatureProperty
- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.utils.SignatureElementProxy
-
- org.apache.xml.security.signature.SignatureProperty
-
public class SignatureProperty extends SignatureElementProxy
Handles<ds:SignatureProperty>
elements Additional information item concerning the generation of the signature(s) can be placed in this Element
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Constructor Summary
Constructors Constructor Description SignatureProperty(org.w3c.dom.Document doc, java.lang.String target)
ConstructsSignatureProperty
using specifiedtarget
attributeSignatureProperty(org.w3c.dom.Document doc, java.lang.String target, java.lang.String id)
SignatureProperty(org.w3c.dom.Element element, java.lang.String baseURI)
Constructs aSignatureProperty
from anElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Node
appendChild(org.w3c.dom.Node node)
Method appendChildjava.lang.String
getBaseLocalName()
Returns the localname of the Elements of the sub-class.java.lang.String
getId()
Returns theid
attributejava.lang.String
getTarget()
Returns thetarget
attributevoid
setId(java.lang.String id)
Sets theid
attributevoid
setTarget(java.lang.String target)
Sets thetarget
attribute-
Methods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespace
-
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
-
-
-
-
Constructor Detail
-
SignatureProperty
public SignatureProperty(org.w3c.dom.Document doc, java.lang.String target)
ConstructsSignatureProperty
using specifiedtarget
attribute- Parameters:
doc
- theDocument
in whichXMLsignature
is placedtarget
- thetarget
attribute references theSignature
element to which the property applies SignatureProperty
-
SignatureProperty
public SignatureProperty(org.w3c.dom.Document doc, java.lang.String target, java.lang.String id)
- Parameters:
doc
- theDocument
in whichXMLsignature
is placedtarget
- thetarget
attribute references theSignature
element to which the property appliesid
- theid
will be specified byReference.getURI()
in validation
-
SignatureProperty
public SignatureProperty(org.w3c.dom.Element element, java.lang.String baseURI) throws XMLSecurityException
Constructs aSignatureProperty
from anElement
- Parameters:
element
-SignatureProperty
elementbaseURI
- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException
-
-
Method Detail
-
setId
public void setId(java.lang.String id)
Sets theid
attribute- Parameters:
id
- theid
attribute
-
getId
public java.lang.String getId()
Returns theid
attribute- Returns:
- the
id
attribute
-
setTarget
public void setTarget(java.lang.String target)
Sets thetarget
attribute- Parameters:
target
- thetarget
attribute
-
getTarget
public java.lang.String getTarget()
Returns thetarget
attribute- Returns:
- the
target
attribute
-
appendChild
public org.w3c.dom.Node appendChild(org.w3c.dom.Node node)
Method appendChild- Parameters:
node
-- Returns:
- the node in this element.
-
getBaseLocalName
public java.lang.String getBaseLocalName()
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalName
in classElementProxy
- Returns:
- the localname of the Elements of the sub-class.
-
-