Class ReferenceList

java.lang.Object
com.sun.xml.security.core.xenc.ReferenceList

public class ReferenceList extends Object

Java class for ReferenceList element declaration.

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

 <element name="ReferenceList">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <choice maxOccurs="unbounded">
           <element name="DataReference" type="{http://www.w3.org/2001/04/xmlenc#}ReferenceType"/>
           <element name="KeyReference" type="{http://www.w3.org/2001/04/xmlenc#}ReferenceType"/>
         </choice>
       </restriction>
     </complexContent>
   </complexType>
 </element>
 
  • Field Details

    • dataReferenceOrKeyReference

      protected List<javax.xml.bind.JAXBElement<ReferenceType>> dataReferenceOrKeyReference
  • Constructor Details

    • ReferenceList

      public ReferenceList()
  • Method Details

    • getDataReferenceOrKeyReference

      public List<javax.xml.bind.JAXBElement<ReferenceType>> getDataReferenceOrKeyReference()
      Gets the value of the dataReferenceOrKeyReference 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 dataReferenceOrKeyReference property.

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

          getDataReferenceOrKeyReference().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<ReferenceType> JAXBElement<ReferenceType>

    • setDataReferenceOrKeyReference

      public void setDataReferenceOrKeyReference(List<javax.xml.bind.JAXBElement<ReferenceType>> dataReferenceOrKeyReference)