|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.signature.SignatureProperty
public class SignatureProperty
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, constructionElement, doc, log |
Constructor Summary | |
---|---|
SignatureProperty(org.w3c.dom.Document doc,
java.lang.String target)
Constructs SignatureProperty using specified target attribute |
|
SignatureProperty(org.w3c.dom.Document doc,
java.lang.String target,
java.lang.String id)
Constructs SignatureProperty using sepcified target attribute and
id attribute |
|
SignatureProperty(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructs a SignatureProperty from an Element |
Method Summary | |
---|---|
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node node)
Method appendChild |
java.lang.String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class. |
java.lang.String |
getId()
Returns the id attribute |
java.lang.String |
getTarget()
Returns the target attribute |
void |
setId(java.lang.String id)
Sets the id attribute |
void |
setTarget(java.lang.String target)
Sets the target 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, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignatureProperty(org.w3c.dom.Document doc, java.lang.String target)
SignatureProperty
using specified target
attribute
doc
- the Document
in which XMLsignature
is placedtarget
- the target
attribute references the Signature
element to which the property applies SignaturePropertypublic SignatureProperty(org.w3c.dom.Document doc, java.lang.String target, java.lang.String id)
SignatureProperty
using sepcified target
attribute and
id
attribute
doc
- the Document
in which XMLsignature
is placedtarget
- the target
attribute references the Signature
element to which the property appliesid
- the id
will be specified by Reference.getURI()
in validationpublic SignatureProperty(org.w3c.dom.Element element, java.lang.String BaseURI) throws XMLSecurityException
SignatureProperty
from an Element
element
- SignatureProperty
elementBaseURI
- the URI of the resource where the XML instance was stored
XMLSecurityException
Method Detail |
---|
public void setId(java.lang.String id)
id
attribute
id
- the id
attributepublic java.lang.String getId()
id
attribute
id
attributepublic void setTarget(java.lang.String target)
target
attribute
target
- the target
attributepublic java.lang.String getTarget()
target
attribute
target
attributepublic org.w3c.dom.Node appendChild(org.w3c.dom.Node node)
node
-
public java.lang.String getBaseLocalName()
ElementProxy
getBaseLocalName
in class ElementProxy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |