public class SignatureMethod
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for SignatureMethodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignatureMethodType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="HMACOutputLength" type="{http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType" minOccurs="0"/> <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
algorithm |
protected java.util.List<java.lang.Object> |
content |
Constructor and Description |
---|
SignatureMethod()
Default no-arg constructor
|
SignatureMethod(java.util.List<java.lang.Object> content,
java.lang.String algorithm)
Fully-initialising value constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.lang.String |
getAlgorithm()
Gets the value of the algorithm property.
|
java.util.List<java.lang.Object> |
getContent()
Gets the value of the content property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAlgorithm(java.lang.String value)
Sets the value of the algorithm property.
|
SignatureMethod |
withAlgorithm(java.lang.String value) |
SignatureMethod |
withContent(java.util.Collection<java.lang.Object> values) |
SignatureMethod |
withContent(java.lang.Object... values) |
protected java.util.List<java.lang.Object> content
protected java.lang.String algorithm
public SignatureMethod()
public SignatureMethod(java.util.List<java.lang.Object> content, java.lang.String algorithm)
public java.util.List<java.lang.Object> getContent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
String
Object
JAXBElement
<
BigInteger
>
public java.lang.String getAlgorithm()
String
public void setAlgorithm(java.lang.String value)
value
- allowed object is
String
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public int hashCode()
hashCode
in class java.lang.Object
public SignatureMethod withContent(java.lang.Object... values)
public SignatureMethod withContent(java.util.Collection<java.lang.Object> values)
public SignatureMethod withAlgorithm(java.lang.String value)