org.openliberty.xmltooling.idsis.dap
Class AppDataType

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.signature.AbstractSignableXMLObject
          extended by org.openliberty.xmltooling.idsis.dap.AppDataType
All Implemented Interfaces:
org.opensaml.xml.signature.SignableXMLObject, org.opensaml.xml.XMLObject
Direct Known Subclasses:
DAPItemData, DAPNewData

public abstract class AppDataType
extends org.opensaml.xml.signature.AbstractSignableXMLObject

The AppDataType carries either an LDIF or a DAPSubscription element, not both. <xs:complexType name="AppDataType"> <xs:choice> <xs:element ref="dap:LDIF"/> <xs:element ref="dap:Subscription"/> </xs:choice> </xs:complexType>

Author:
asa

Nested Class Summary
static class AppDataType.Marshaller
          Internal Marshaller - unused
static class AppDataType.Unmarshaller
          Internal class that handles unmarshalling the object from the DOM
 
Field Summary
private  LDIF ldif
           
private  DAPSubscription subscription
           
 
Constructor Summary
protected AppDataType(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
           
 
Method Summary
 LDIF getLDIF()
           
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
          In the case of AppDataType, only one of the child elements may be set and therefore returned in the OrderedChildren List.
 DAPSubscription getSubscription()
           
 void setLDIF(LDIF ldif)
          If the ldif parameter is not null, then this method will set the subscription to null before setting the LDIF element
 void setSubscription(DAPSubscription subscription)
          If the subscription parameter is not null then this method sets the ldif object to null before setting the subscription.
 
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject
getSignature, isSigned, setSignature
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

ldif

private LDIF ldif

subscription

private DAPSubscription subscription
Constructor Detail

AppDataType

protected AppDataType(java.lang.String namespaceURI,
                      java.lang.String elementLocalName,
                      java.lang.String namespacePrefix)
Method Detail

getLDIF

public LDIF getLDIF()

setLDIF

public void setLDIF(LDIF ldif)
If the ldif parameter is not null, then this method will set the subscription to null before setting the LDIF element

Parameters:
ldif -

getSubscription

public DAPSubscription getSubscription()

setSubscription

public void setSubscription(DAPSubscription subscription)
If the subscription parameter is not null then this method sets the ldif object to null before setting the subscription.

Parameters:
subscription -

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
In the case of AppDataType, only one of the child elements may be set and therefore returned in the OrderedChildren List.