Package org.w3.xmldsig
Class KeyInfoType
- java.lang.Object
-
- org.w3.xmldsig.KeyInfoType
-
public class KeyInfoType extends Object
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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyInfoType.Builder<_B>static classKeyInfoType.Selectstatic classKeyInfoType.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>,TParent>
-
Constructor Summary
Constructors Constructor Description KeyInfoType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyInfoType.Builder<Void>builder()static KeyInfoType.Builder<Void>copyExcept(KeyInfoType _other, com.kscs.util.jaxb.PropertyTree _propertyTree)static <_B> KeyInfoType.Builder<_B>copyOf(KeyInfoType _other)static <_B> KeyInfoType.Builder<_B>copyOf(KeyInfoType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)static KeyInfoType.Builder<Void>copyOnly(KeyInfoType _other, com.kscs.util.jaxb.PropertyTree _propertyTree)<_B> voidcopyTo(KeyInfoType.Builder<_B> _other)Copies all state of this object to a builder.<_B> voidcopyTo(KeyInfoType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)Copies all state of this object to a builder.List<Object>getContent()Gets the value of the content property.StringgetId()Gets the value of the id property.KeyInfoType.Builder<Void>newCopyBuilder()<_B> KeyInfoType.Builder<_B>newCopyBuilder(_B _parentBuilder)<_B> KeyInfoType.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)KeyInfoType.Builder<Void>newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)voidsetId(String value)Sets the value of the id property.
-
-
-
Method Detail
-
getContent
public List<Object> getContent()
Gets the value of the content property.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
setmethod 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
JAXBElement<String>JAXBElement<KeyValueType>JAXBElement<RetrievalMethodType>JAXBElement<X509DataType>JAXBElement<PGPDataType>JAXBElement<SPKIDataType>JAXBElement<String>ElementObjectString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
copyTo
public <_B> void copyTo(KeyInfoType.Builder<_B> _other)
Copies all state of this object to a builder. This method is used by thecopyOf(org.w3.xmldsig.KeyInfoType)method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
public <_B> KeyInfoType.Builder<_B> newCopyBuilder(_B _parentBuilder)
-
newCopyBuilder
public KeyInfoType.Builder<Void> newCopyBuilder()
-
builder
public static KeyInfoType.Builder<Void> builder()
-
copyOf
public static <_B> KeyInfoType.Builder<_B> copyOf(KeyInfoType _other)
-
copyTo
public <_B> void copyTo(KeyInfoType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
Copies all state of this object to a builder. This method is used by thecopyOf(org.w3.xmldsig.KeyInfoType)method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
public <_B> KeyInfoType.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
newCopyBuilder
public KeyInfoType.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
copyOf
public static <_B> KeyInfoType.Builder<_B> copyOf(KeyInfoType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
copyExcept
public static KeyInfoType.Builder<Void> copyExcept(KeyInfoType _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
-
copyOnly
public static KeyInfoType.Builder<Void> copyOnly(KeyInfoType _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
-
-