|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.w3.xenc.AgreementMethod
public class AgreementMethod
Java class for AgreementMethodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AgreementMethodType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="KA-Nonce" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
<element name="OriginatorKeyInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType" minOccurs="0"/>
<element name="RecipientKeyInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType" minOccurs="0"/>
</sequence>
<attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
algorithm
|
protected List<Object> |
content
|
| Constructor Summary | |
|---|---|
AgreementMethod()
Default no-arg constructor |
|
AgreementMethod(List<Object> content,
String algorithm)
Fully-initialising value constructor |
|
| Method Summary | |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
String |
getAlgorithm()
Gets the value of the algorithm property. |
List<Object> |
getContent()
Gets the value of the content property. |
void |
setAlgorithm(String value)
Sets the value of the algorithm property. |
void |
setContent(List<Object> value)
|
String |
toString()
|
AgreementMethod |
withAlgorithm(String value)
|
AgreementMethod |
withContent(Collection<Object> values)
|
AgreementMethod |
withContent(List<Object> value)
|
AgreementMethod |
withContent(Object... values)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<Object> content
protected String algorithm
| Constructor Detail |
|---|
public AgreementMethod()
public AgreementMethod(List<Object> content,
String algorithm)
| Method Detail |
|---|
public List<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<KeyInfo>
JAXBElement<byte[]>
JAXBElement<KeyInfo>
Element
public String getAlgorithm()
Stringpublic void setAlgorithm(String value)
value - allowed object is
Stringpublic void setContent(List<Object> value)
public String toString()
toString in class Object
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic AgreementMethod withContent(Object... values)
public AgreementMethod withContent(Collection<Object> values)
public AgreementMethod withAlgorithm(String value)
public AgreementMethod withContent(List<Object> value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||