org.openliberty.xmltooling.idsis.dap
Class DAPData

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

public class DAPData
extends DAPItemData

DAPData represents a Data element in the DAP QueryResponse. This object is DAPItemData with pagination.

   <xs:element name="Data" type="dap:DataType"/>
   <xs:complexType name="DataType">
     <xs:complexContent>
       <xs:extension base="dap:ItemDataType">
         <xs:attributeGroup ref="dst:PaginationResponseAttributeGroup"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
  

In practice the element content of the Data element may contain the LDIF string data. So a convenience method getLDIFDataString() will extract the LDIF data forst checking for the LDIF element and then for the Subscription element, and then passing <Data>s element content

Author:
asa

Nested Class Summary
static class DAPData.Builder
          Internal Class that builds a DAPData object.
static class DAPData.Marshaller
          Internal marshaller
static class DAPData.Unmarshaller
          Internal unmarshaller
 
Field Summary
private static org.apache.log4j.Logger log
           
private  PaginationResponseAttributeGroup paginationResponseAttributeGroup
           
private  java.lang.String value
           
 
Fields inherited from class org.openliberty.xmltooling.idsis.dap.DAPItemData
LOCAL_NAME
 
Constructor Summary
DAPData()
           
DAPData(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
           
 
Method Summary
 java.util.Hashtable<java.lang.String,java.lang.String> getLDIFDataAsHashtable()
           
 java.lang.String getLDIFDataString()
          Extracts the LDIF data forst checking for the LDIF element and then for the Subscription element, and then passing <Data>s element content
 PaginationResponseAttributeGroup getPaginationResponseAttributes()
           
 java.lang.String getValue()
           
 void setValue(java.lang.String value)
          Data is specified in the ID-SIS-DAP as a complextype and as such has no element content.
 
Methods inherited from class org.openliberty.xmltooling.idsis.dap.DAPItemData
getItemDataAttributeGroup
 
Methods inherited from class org.openliberty.xmltooling.idsis.dap.AppDataType
getLDIF, getOrderedChildren, getSubscription, setLDIF, setSubscription
 
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

log

private static final org.apache.log4j.Logger log

paginationResponseAttributeGroup

private PaginationResponseAttributeGroup paginationResponseAttributeGroup

value

private java.lang.String value
Constructor Detail

DAPData

public DAPData()

DAPData

public DAPData(java.lang.String namespaceURI,
               java.lang.String elementLocalName,
               java.lang.String namespacePrefix)
Method Detail

getLDIFDataString

public java.lang.String getLDIFDataString()
Extracts the LDIF data forst checking for the LDIF element and then for the Subscription element, and then passing <Data>s element content

Returns:

getLDIFDataAsHashtable

public java.util.Hashtable<java.lang.String,java.lang.String> getLDIFDataAsHashtable()

setValue

public void setValue(java.lang.String value)
Data is specified in the ID-SIS-DAP as a complextype and as such has no element content. This however is not true in practice, ergo, DAPData handles the element content.

Parameters:
value -

getValue

public java.lang.String getValue()

getPaginationResponseAttributes

public PaginationResponseAttributeGroup getPaginationResponseAttributes()