public class DAPSort
extends org.opensaml.core.xml.schema.impl.XSStringImpl
These elements are interpreted in the sense of [RFC2891], Section 1.1 "Request Control."
Example:
a,,cn$d,,fn$d,,sn
An implementation that does not support sorting MAY ignore the sort specification. An implementation that partially supports sorting, SHOULD make best effort to satisfy the sort criteria, but need not adhere to it literally. Such implementations MAY ignore LDAP control-criticality specifications regarding the sort control.
Sorting is not supported for subscriptions.
<xs:complexType name="SortType">
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
DAPSort.Builder |
static class |
DAPSort.Marshaller |
static class |
DAPSort.SortOrder |
static class |
DAPSort.Unmarshaller |
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCAL_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
DAPSort() |
protected |
DAPSort(String namespaceURI,
String elementLocalName,
String namespacePrefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSortElement(String attributeName,
DAPSort.SortOrder sortOrder,
String orderingRule)
This method is used to build the DAPSort string.
|
List<org.opensaml.core.xml.XMLObject> |
getOrderedChildren() |
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationpublic static final String LOCAL_NAME
public void addSortElement(String attributeName, DAPSort.SortOrder sortOrder, String orderingRule)
A sort element is in the form "sortOrder,orderingRule,attributeName"
attributeName - required name of the attribute such as "cn" "fn" etc...sortOrder - default ascendingorderingRule - optionalpublic List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
getOrderedChildren in interface org.opensaml.core.xml.XMLObjectgetOrderedChildren in class org.opensaml.core.xml.schema.impl.XSStringImplCopyright © 1999–2015. All rights reserved.