public class CanonicalizationMethod
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for CanonicalizationMethodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CanonicalizationMethodType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any 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 |
---|
CanonicalizationMethod()
Default no-arg constructor
|
CanonicalizationMethod(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.
|
CanonicalizationMethod |
withAlgorithm(java.lang.String value) |
CanonicalizationMethod |
withContent(java.util.Collection<java.lang.Object> values) |
CanonicalizationMethod |
withContent(java.lang.Object... values) |
protected java.util.List<java.lang.Object> content
protected java.lang.String algorithm
public CanonicalizationMethod()
public CanonicalizationMethod(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
Object
String
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 CanonicalizationMethod withContent(java.lang.Object... values)
public CanonicalizationMethod withContent(java.util.Collection<java.lang.Object> values)
public CanonicalizationMethod withAlgorithm(java.lang.String value)