public class KeyInfo
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for KeyInfoType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="KeyInfoType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded">
<element ref="{http://www.w3.org/2000/09/xmldsig#}KeyName"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}RetrievalMethod"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}X509Data"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}PGPData"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}SPKIData"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}MgmtData"/>
<any processContents='lax' namespace='##other'/>
</choice>
<attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
content |
protected java.lang.String |
id |
| Constructor and Description |
|---|
KeyInfo()
Default no-arg constructor
|
KeyInfo(java.util.List<java.lang.Object> content,
java.lang.String id)
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.util.List<java.lang.Object> |
getContent()
Gets the value of the content property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setId(java.lang.String value)
Sets the value of the id property.
|
KeyInfo |
withContent(java.util.Collection<java.lang.Object> values) |
KeyInfo |
withContent(java.lang.Object... values) |
KeyInfo |
withId(java.lang.String value) |
protected java.util.List<java.lang.Object> content
protected java.lang.String id
public KeyInfo()
public KeyInfo(java.util.List<java.lang.Object> content,
java.lang.String id)
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
SPKIData
String
Element
JAXBElement<String>
PGPData
RetrievalMethod
KeyValue
JAXBElement<String>
X509Data
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic 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.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic KeyInfo withContent(java.lang.Object... values)
public KeyInfo withContent(java.util.Collection<java.lang.Object> values)
public KeyInfo withId(java.lang.String value)