com.sun.xml.security.core.xenc
Class ReferenceList

java.lang.Object
  extended by 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 Summary
protected  List<JAXBElement<ReferenceType>> dataReferenceOrKeyReference
           
 
Constructor Summary
ReferenceList()
           
 
Method Summary
 List<JAXBElement<ReferenceType>> getDataReferenceOrKeyReference()
          Gets the value of the dataReferenceOrKeyReference property.
 void setDataReferenceOrKeyReference(List<JAXBElement<ReferenceType>> dataReferenceOrKeyReference)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataReferenceOrKeyReference

protected List<JAXBElement<ReferenceType>> dataReferenceOrKeyReference
Constructor Detail

ReferenceList

public ReferenceList()
Method Detail

getDataReferenceOrKeyReference

public List<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<JAXBElement<ReferenceType>> dataReferenceOrKeyReference)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.