APIdia Launch Partner
Top Description Constructors Methods
com.sun.org.apache.xml.internal.security.signature

public Class SignatureProperty

extends SignatureElementProxy
Class Inheritance
Imports
com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException, com.sun.org.apache.xml.internal.security.utils.Constants, .SignatureElementProxy, org.w3c.dom.Document, .Element, .Node

Handles <ds:SignatureProperty> elements Additional information item concerning the generation of the signature(s) can be placed in this Element

Constructor Summary

AccessConstructor and Description
public
SignatureProperty(Document
the Document in which XMLsignature is placed
doc
,
String
the target attribute references the Signature element to which the property applies SignatureProperty
target
)

ConstructsSignatureProperty using specified target attribute

public
SignatureProperty(Document
the Document in which XMLsignature is placed
doc
,
String
the target attribute references the Signature element to which the property applies
target
,
String
the id will be specified by Reference#getURI in validation
id
)

Constructs SignatureProperty using specified target attribute and id attribute

public
SignatureProperty(Element
SignatureProperty element
element
,
String
the URI of the resource where the XML instance was stored
baseURI
)

Constructs a SignatureProperty from an Element

Method Summary

Modifier and TypeMethod and Description
public Node

Returns:

the node in this element.
appendChild
(Node node)

Method appendChild

public String
getBaseLocalName()

Implements abstract com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseLocalName.

Returns the localname of the Elements of the sub-class.

public String

Returns:

the id attribute
getId
()

Returns the id attribute

public String

Returns:

the target attribute
getTarget
()

Returns the target attribute

public void
setId(String
the id attribute
id
)

Sets the id attribute

public void
setTarget(String
the target attribute
target
)

Sets the target attribute

Inherited from com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy:
getBaseNamespace

Constructor Detail

SignaturePropertyback to summary
public SignatureProperty(Document doc, String target)

ConstructsSignatureProperty using specified target attribute

Parameters
doc:Document

the Document in which XMLsignature is placed

target:String

the target attribute references the Signature element to which the property applies SignatureProperty

SignaturePropertyback to summary
public SignatureProperty(Document doc, String target, String id)

Constructs SignatureProperty using specified target attribute and id attribute

Parameters
doc:Document

the Document in which XMLsignature is placed

target:String

the target attribute references the Signature element to which the property applies

id:String

the id will be specified by Reference#getURI in validation

SignaturePropertyback to summary
public SignatureProperty(Element element, String baseURI) throws XMLSecurityException

Constructs a SignatureProperty from an Element

Parameters
element:Element

SignatureProperty element

baseURI:String

the URI of the resource where the XML instance was stored

Method Detail

appendChildback to summary
public Node appendChild(Node node)

Method appendChild

Returns:Node

the node in this element.

getBaseLocalNameback to summary
public String getBaseLocalName()

Implements abstract com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseLocalName.

Doc from com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseLocalName.

Returns the localname of the Elements of the sub-class.

Annotations
@Override
getIdback to summary
public String getId()

Returns the id attribute

Returns:String

the id attribute

getTargetback to summary
public String getTarget()

Returns the target attribute

Returns:String

the target attribute

setIdback to summary
public void setId(String id)

Sets the id attribute

Parameters
id:String

the id attribute

setTargetback to summary
public void setTarget(String target)

Sets the target attribute

Parameters
target:String

the target attribute