public abstract class ResourceTrimmer extends Object
| Constructor and Description |
|---|
ResourceTrimmer() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
shouldReturn(com.unboundid.scim2.common.Path path)
Determine if the attribute specified by the path should be returned.
|
protected com.fasterxml.jackson.databind.node.ArrayNode |
trimArrayNode(com.fasterxml.jackson.databind.node.ArrayNode arrayNode,
com.unboundid.scim2.common.Path parentPath)
Trim attributes of the values in the array node to return.
|
com.fasterxml.jackson.databind.node.ObjectNode |
trimObjectNode(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
Trim attributes of the object node to return.
|
public ResourceTrimmer()
public com.fasterxml.jackson.databind.node.ObjectNode trimObjectNode(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
objectNode - The object node to return.protected com.fasterxml.jackson.databind.node.ArrayNode trimArrayNode(com.fasterxml.jackson.databind.node.ArrayNode arrayNode, com.unboundid.scim2.common.Path parentPath)
arrayNode - The array node to return.parentPath - The parent path of attributes in the array.public abstract boolean shouldReturn(com.unboundid.scim2.common.Path path)
path - The path for the attribute.true to return the attribute or false to remove the
attribute from the returned resource..Copyright © 2015–2016 UnboundID Corp.. All rights reserved.