org.w3.xmldsig
Class PGPData

java.lang.Object
  extended by org.w3.xmldsig.PGPData
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class PGPData
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for PGPDataType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PGPDataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <sequence>
           <element name="PGPKeyID" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
           <element name="PGPKeyPacket" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
           <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
         <sequence>
           <element name="PGPKeyPacket" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
           <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> anies
           
protected  byte[] pgpKeyID
           
protected  byte[] pgpKeyPacket
           
 
Constructor Summary
PGPData()
          Default no-arg constructor
PGPData(byte[] pgpKeyID, byte[] pgpKeyPacket, List<Object> anies)
          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)
           
 List<Object> getAnies()
          Gets the value of the anies property.
 byte[] getPGPKeyID()
          Gets the value of the pgpKeyID property.
 byte[] getPGPKeyPacket()
          Gets the value of the pgpKeyPacket property.
 void setAnies(List<Object> value)
           
 void setPGPKeyID(byte[] value)
          Sets the value of the pgpKeyID property.
 void setPGPKeyPacket(byte[] value)
          Sets the value of the pgpKeyPacket property.
 String toString()
           
 PGPData withAnies(Collection<Object> values)
           
 PGPData withAnies(List<Object> value)
           
 PGPData withAnies(Object... values)
           
 PGPData withPGPKeyID(byte[] value)
           
 PGPData withPGPKeyPacket(byte[] value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pgpKeyID

protected byte[] pgpKeyID

pgpKeyPacket

protected byte[] pgpKeyPacket

anies

protected List<Object> anies
Constructor Detail

PGPData

public PGPData()
Default no-arg constructor


PGPData

public PGPData(byte[] pgpKeyID,
               byte[] pgpKeyPacket,
               List<Object> anies)
Fully-initialising value constructor

Method Detail

getPGPKeyID

public byte[] getPGPKeyID()
Gets the value of the pgpKeyID property.

Returns:
possible object is byte[]

setPGPKeyID

public void setPGPKeyID(byte[] value)
Sets the value of the pgpKeyID property.

Parameters:
value - allowed object is byte[]

getPGPKeyPacket

public byte[] getPGPKeyPacket()
Gets the value of the pgpKeyPacket property.

Returns:
possible object is byte[]

setPGPKeyPacket

public void setPGPKeyPacket(byte[] value)
Sets the value of the pgpKeyPacket property.

Parameters:
value - allowed object is byte[]

getAnies

public List<Object> getAnies()
Gets the value of the anies 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 set method for the anies property.

For example, to add a new item, do as follows:

    getAnies().add(newItem);
 

Objects of the following type(s) are allowed in the list Element Object


setAnies

public void setAnies(List<Object> value)

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withPGPKeyID

public PGPData withPGPKeyID(byte[] value)

withPGPKeyPacket

public PGPData withPGPKeyPacket(byte[] value)

withAnies

public PGPData withAnies(Object... values)

withAnies

public PGPData withAnies(Collection<Object> values)

withAnies

public PGPData withAnies(List<Object> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.