net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.xmldsig
Class KeyInfoType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.xmldsig.KeyInfoType
All Implemented Interfaces:
Serializable, Cloneable

public class KeyInfoType
extends Object
implements Serializable, Cloneable

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>
 

See Also:
Serialized Form

Field Summary
protected  Object[] content
           
protected  String id
           
 
Constructor Summary
KeyInfoType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.xmldsig.KeyInfoType instance.
KeyInfoType(KeyInfoType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.xmldsig.KeyInfoType instance by copying a given instance.
 
Method Summary
 KeyInfoType clone()
          Creates and returns a copy of this object.
protected  void copyContent(Object[] source)
          Copies all values of property Content.
 Object[] getContent()
           
 Object getContent(int idx)
           
 int getContentLength()
           
 String getId()
          Gets the value of the id property.
 Object setContent(int idx, Object value)
           
 void setContent(Object[] values)
           
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected Object[] content

id

protected String id
Constructor Detail

KeyInfoType

public KeyInfoType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.xmldsig.KeyInfoType instance.


KeyInfoType

public KeyInfoType(KeyInfoType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.xmldsig.KeyInfoType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getContent

public Object[] getContent()
Returns:
array of Element JAXBElement<X509DataType> String JAXBElement<PGPDataType> JAXBElement<String> Object JAXBElement<KeyValueType> JAXBElement<String> JAXBElement<SPKIDataType> JAXBElement<RetrievalMethodType>

getContent

public Object getContent(int idx)
Returns:
one of Element JAXBElement<X509DataType> String JAXBElement<PGPDataType> JAXBElement<String> Object JAXBElement<KeyValueType> JAXBElement<String> JAXBElement<SPKIDataType> JAXBElement<RetrievalMethodType>

getContentLength

public int getContentLength()

setContent

public void setContent(Object[] values)
Parameters:
values - allowed objects are Element JAXBElement<X509DataType> String JAXBElement<PGPDataType> JAXBElement<String> Object JAXBElement<KeyValueType> JAXBElement<String> JAXBElement<SPKIDataType> JAXBElement<RetrievalMethodType>

setContent

public Object setContent(int idx,
                         Object value)
Parameters:
value - allowed object is Element JAXBElement<X509DataType> String JAXBElement<PGPDataType> JAXBElement<String> Object JAXBElement<KeyValueType> JAXBElement<String> JAXBElement<SPKIDataType> JAXBElement<RetrievalMethodType>

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

copyContent

protected void copyContent(Object[] source)
Copies all values of property Content.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public KeyInfoType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.