Class PGPDataType

java.lang.Object
org.coderic.model.common.xmldsig.PGPDataType

public class PGPDataType extends Object

Clase Java para PGPDataType complex type.

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.

 <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>
 
  • Constructor Details

    • PGPDataType

      public PGPDataType()
  • Method Details

    • getContent

      public List<Object> getContent()
      Obtiene el resto del modelo de contenido.

      Ha obtenido esta propiedad que permite capturar todo por el siguiente motivo: El nombre de campo "PGPKeyPacket" se está utilizando en dos partes diferentes de un esquema. Consulte: línea 229 de file:/home/neftaliyagua/dev/CodericBusiness/org.coderic.ubl.core/modules/xmldsig/src/main/xsd/UBL-xmldsig-core-schema-2.1.xsd línea 224 de file:/home/neftaliyagua/dev/CodericBusiness/org.coderic.ubl.core/modules/xmldsig/src/main/xsd/UBL-xmldsig-core-schema-2.1.xsd

      Para deshacerse de esta propiedad, aplique una personalización de propiedad a una de las dos declaraciones siguientes para cambiarles de nombre: 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 Jakarta XML Binding 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 JAXBElement<byte> JAXBElement<byte> Element Object