Uses of Class
org.forgerock.json.JsonPointer
-
Packages that use JsonPointer Package Description org.forgerock.audit.events Package contains audit events.org.forgerock.audit.util This package contains utility classes used in the audit service.org.forgerock.json Provides an API for the traversal and manipulation of JSON object model structures in Java.org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.json.schema.validator.exceptions Schema validator exceptions.org.forgerock.json.schema.validator.helpers These classes are capable of helping the validators to check certain constraints.org.forgerock.json.schema.validator.validators These classes are capable of validating the objects against the initially loaded schema.org.forgerock.opendj.rest2ldap.schema This package contains LDAP schema syntaxes and matching rules for JSON based attributes.org.forgerock.util.query Provides a mechanism for implementing query filters. -
-
Uses of JsonPointer in org.forgerock.audit.events
Methods in org.forgerock.audit.events that return types with arguments of type JsonPointer Modifier and Type Method Description List<JsonPointer>EventTopicsMetaData. getIncludeIfFilters(String topic)Returns JSON Pointers to fields which should be automatically whitelisted for a given topic's schema.Methods in org.forgerock.audit.events with parameters of type JsonPointer Modifier and Type Method Description static StringAuditEventHelper. getPropertyType(JsonValue auditEvent, JsonPointer property)Gets a AuditEvent property type.static booleanAuditEventHelper. isPropertyRequired(JsonValue auditEvent, JsonPointer property)Gets whether a AuditEvent property is required. -
Uses of JsonPointer in org.forgerock.audit.util
Methods in org.forgerock.audit.util that return JsonPointer Modifier and Type Method Description static JsonPointerElasticsearchUtil. normalizeJsonPointer(JsonPointer ptr)Replaces periods inJsonPointerkeys with underscore.Methods in org.forgerock.audit.util with parameters of type JsonPointer Modifier and Type Method Description static StringJsonValueUtils. extractValueAsString(JsonValue json, JsonPointer pointer)Extracts String representation of field identified bypointerfromjsonobject.static JsonPointerElasticsearchUtil. normalizeJsonPointer(JsonPointer ptr)Replaces periods inJsonPointerkeys with underscore. -
Uses of JsonPointer in org.forgerock.json
Fields in org.forgerock.json declared as JsonPointer Modifier and Type Field Description static JsonPointerJsonPatch. FROM_PTRPath to the "from" attribute of a patch entry.static JsonPointerJsonPatch. OP_PTRPath to the "op" attribute of a patch entry.static JsonPointerJsonPatch. PATH_PTRPath to the "path" attribute of a patch entry.static JsonPointerJsonPatch. VALUE_PTRPath to the "value" attribute of a patch entry.Methods in org.forgerock.json that return JsonPointer Modifier and Type Method Description JsonPointerJsonPointer. child(int child)Returns a new JSON pointer, which identifies a specified child element of the array identified by this pointer.JsonPointerJsonPointer. child(String child)Returns a new JSON pointer, which identifies a specified child member of the object identified by this pointer.JsonPointerJsonPointer. concat(JsonPointer suffix)Creates a new JSON pointer which is a descendant of this JSON pointer.JsonPointerJsonValue. getPointer()Returns the pointer of the JSON value in its JSON structure.JsonPointerJsonPointer. head(int endIndex)Returns a pointer which is a subsequence of the path elements contained in this pointer beginning with the first element (0) and ending with the element at positionendIndex-1.JsonPointerJsonPointer. parent()Returns a pointer to the parent of the JSON value identified by this JSON pointer, ornullif the pointer has no parent JSON value (i.e.static JsonPointerJsonPointer. ptr(Iterable<String> iterable)Constructs a JSON pointer from an iterable collection of reference tokens.static JsonPointerJsonPointer. ptr(String pointer)Constructs a JSON pointer, identifying the specified pointer value.static JsonPointerJsonPointer. ptr(String... tokens)Constructs a JSON pointer from an array of reference tokens.JsonPointerJsonPointer. relativePointer()Returns a pointer containing all but the first reference token contained in this pointer, or/if this pointer contains less than 2 reference tokens.JsonPointerJsonPointer. relativePointer(int sz)Returns a pointer containing the lastszreference tokens contained in this pointer.static JsonPointerJsonPointer. rootPtr()Returns a JSON pointer identifying the root value of a JSON structure.Methods in org.forgerock.json that return types with arguments of type JsonPointer Modifier and Type Method Description static Function<JsonValue,JsonPointer,JsonValueException>JsonValueFunctions. pointer()Returns the JSON string value as a JSON pointer.Methods in org.forgerock.json with parameters of type JsonPointer Modifier and Type Method Description JsonValueJsonValue. add(JsonPointer pointer, Object object)Adds the value identified by the specified pointer, relative to this value as root.JsonValueJsonValue. addPermissive(JsonPointer pointer, Object object)Adds the value identified by the specified pointer, relative to this value as root.JsonPointerJsonPointer. concat(JsonPointer suffix)Creates a new JSON pointer which is a descendant of this JSON pointer.JsonValueJsonValue. get(JsonPointer pointer)Returns the specified child value with a pointer, relative to this value as root.booleanJsonPointer. isPrefixOf(JsonPointer candidate)Checks whethercandidateis an extension of this JSON Pointer.JsonValueJsonValue. put(JsonPointer pointer, Object object)Sets the value identified by the specified pointer, relative to this value as root.JsonValueJsonValue. putPermissive(JsonPointer pointer, Object object)Sets the value identified by the specified pointer, relative to this value as root.voidJsonValue. remove(JsonPointer pointer)Removes the specified child value with a pointer, relative to this value as root.Constructors in org.forgerock.json with parameters of type JsonPointer Constructor Description JsonValue(Object object, JsonPointer pointer)Constructs a JSON value object with a given object and pointer. -
Uses of JsonPointer in org.forgerock.json.resource
Fields in org.forgerock.json.resource declared as JsonPointer Modifier and Type Field Description static JsonPointerResources. FIELD_VALUE_ALL_PTRJsonPointer used in fields to denote "all fields", i.e., no filtering.Methods in org.forgerock.json.resource that return JsonPointer Modifier and Type Method Description JsonPointerPatchOperation. getField()Returns the field targeted by the patch operation.JsonPointerSortKey. getField()Returns the sort key field.JsonPointerPatchOperation. getFrom()Returns the source field for move and copy operations.Methods in org.forgerock.json.resource that return types with arguments of type JsonPointer Modifier and Type Method Description List<JsonPointer>ActionRequest. getFields()List<JsonPointer>CreateRequest. getFields()List<JsonPointer>DeleteRequest. getFields()List<JsonPointer>PatchRequest. getFields()List<JsonPointer>QueryRequest. getFields()List<JsonPointer>ReadRequest. getFields()List<JsonPointer>Request. getFields()Returns the list of fields which should be included with each JSON resource returned by this request.List<JsonPointer>ResourceResponse. getFields()Returns the list of fields which should be included in this JSON resource after field filtering has occurred.List<JsonPointer>UpdateRequest. getFields()QueryFilter<JsonPointer>QueryRequest. getQueryFilter()Returns the query filter which will be used for selecting which JSON resources will be returned.static QueryFilter<JsonPointer>QueryFilters. parse(String query)Parses the provided query string into aQueryFilter.static Function<JsonValue,QueryFilter<JsonPointer>,JsonValueException>JsonValueFunctions. queryFilter()Parses and returns the JSON string value as aQueryFilter.Methods in org.forgerock.json.resource with parameters of type JsonPointer Modifier and Type Method Description static PatchOperationPatchOperation. add(JsonPointer field, Object value)Creates a new "add" patch operation which will add the provided value(s) to the specified field.ActionRequestActionRequest. addField(JsonPointer... fields)CreateRequestCreateRequest. addField(JsonPointer... fields)DeleteRequestDeleteRequest. addField(JsonPointer... fields)PatchRequestPatchRequest. addField(JsonPointer... fields)QueryRequestQueryRequest. addField(JsonPointer... fields)ReadRequestReadRequest. addField(JsonPointer... fields)RequestRequest. addField(JsonPointer... fields)Adds one or more fields which should be included with each JSON resource returned by this request.voidResourceResponse. addField(JsonPointer... fields)Adds a field to the list of fields which should be included in this JSON resource after field filtering has occurred.UpdateRequestUpdateRequest. addField(JsonPointer... fields)static SortKeySortKey. ascendingOrder(JsonPointer field)Creates a new ascending-order sort key for the provided JSON field.static PatchOperationPatchOperation. copy(JsonPointer from, JsonPointer field)Creates a new "copy" patch operation which will copy the value found at `from` to `path`.static SortKeySortKey. descendingOrder(JsonPointer field)Creates a new descending-order sort key for the provided JSON field.static PatchOperationPatchOperation. increment(JsonPointer field, Number amount)Creates a new "increment" patch operation which will increment the value(s) of the specified field by the amount provided.static PatchOperationPatchOperation. move(JsonPointer from, JsonPointer field)Creates a new "move" patch operation which will move the value found at `from` to `path`.static PatchOperationPatchOperation. operation(String operation, JsonPointer field, Object value)Creates a new patch operation having the specified operation type, field, and value(s).static PatchOperationPatchOperation. remove(JsonPointer field)Creates a new "remove" patch operation which will remove the specified field.static PatchOperationPatchOperation. remove(JsonPointer field, Object value)Creates a new "remove" patch operation which will remove the provided value(s) from the specified field.static PatchOperationPatchOperation. replace(JsonPointer field, Object value)Creates a new "replace" patch operation which will replace the value(s) of the specified field with the provided value(s).static PatchOperationPatchOperation. transform(JsonPointer field, Object transform)Creates a new "transform" patch operation which sets the value at field based on a transformation.Method parameters in org.forgerock.json.resource with type arguments of type JsonPointer Modifier and Type Method Description static JsonValueResources. filterResource(JsonValue resource, Collection<JsonPointer> fields)Returns a JSON object containing only the specified fields from the provided JSON value.static ResourceResponseResources. filterResource(ResourceResponse resource, Collection<JsonPointer> fields)Returns a JSON object containing only the specified fields from the provided resource.QueryRequestQueryRequest. setQueryFilter(QueryFilter<JsonPointer> filter)Sets the query filter which will be used for selecting which JSON resources will be returned. -
Uses of JsonPointer in org.forgerock.json.schema.validator.exceptions
Constructors in org.forgerock.json.schema.validator.exceptions with parameters of type JsonPointer Constructor Description ValidationException(Exception e, JsonPointer path)Create an exception with the given cause and path.ValidationException(String message, Exception e, JsonPointer path)Create an exception with the given message, cause and path.ValidationException(String string, Throwable throwable, JsonPointer path)Create an exception with the given message, cause and path.ValidationException(String message, JsonPointer path)Create an exception with the given message and path.ValidationException(String message, JsonPointer path, Object value)Create an exception with the given message, value and path. -
Uses of JsonPointer in org.forgerock.json.schema.validator.helpers
Methods in org.forgerock.json.schema.validator.helpers with parameters of type JsonPointer Modifier and Type Method Description voidDivisibleByHelper. validate(Number node, JsonPointer at, ErrorHandler handler)voidEnumHelper. validate(Object node, JsonPointer at, ErrorHandler handler)voidFormatHelper. validate(Object node, JsonPointer at, ErrorHandler handler)voidMaximumHelper. validate(Number node, JsonPointer at, ErrorHandler handler)voidMinimumHelper. validate(Number node, JsonPointer at, ErrorHandler handler) -
Uses of JsonPointer in org.forgerock.json.schema.validator.validators
Methods in org.forgerock.json.schema.validator.validators that return JsonPointer Modifier and Type Method Description JsonPointerValidator. getJsonPointer()Returns the JSON pointer locating where the validator was defined in the schema.protected JsonPointerValidator. getPath(JsonPointer at, String property)Gets the valid JSONPath of the node or the given property.Methods in org.forgerock.json.schema.validator.validators with parameters of type JsonPointer Modifier and Type Method Description protected JsonPointerValidator. getPath(JsonPointer at, String property)Gets the valid JSONPath of the node or the given property.voidAnyTypeValidator. validate(Object node, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object.voidArrayTypeValidator. validate(Object node, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object.voidBooleanTypeValidator. validate(Object node, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object.voidIntegerTypeValidator. validate(Object node, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object.voidNullTypeValidator. validate(Object node, JsonPointer at, ErrorHandler handler)voidNumberTypeValidator. validate(Object node, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object.voidObjectTypeValidator. validate(Object value, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object.voidReferenceTypeValidator. validate(Object node, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object.voidSimpleValidator. validate(T node, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object.voidStringTypeValidator. validate(Object node, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object.voidUnionTypeValidator. validate(Object node, JsonPointer at, ErrorHandler handler)Validates thenodevalue against the embedded schema object. -
Uses of JsonPointer in org.forgerock.opendj.rest2ldap.schema
Method parameters in org.forgerock.opendj.rest2ldap.schema with type arguments of type JsonPointer Modifier and Type Method Description static MatchingRuleImplJsonSchema. newJsonEqualityMatchingRuleImpl(Collection<JsonPointer> keys, Options options)Creates a new custom JSON equality matching rule implementation with the provided matching rule name and options.static MatchingRuleImplJsonSchema. newJsonOrderingMatchingRuleImpl(List<JsonPointer> keys, Options options)Creates a new custom JSON ordering matching rule implementation with the provided matching rule name and options. -
Uses of JsonPointer in org.forgerock.util.query
Methods in org.forgerock.util.query that return types with arguments of type JsonPointer Modifier and Type Method Description static QueryFilterVisitor<Boolean,JsonValue,JsonPointer>JsonValueFilterVisitor. jsonValueFilterVisitor()Returns aQueryFilterVisitorthat can assess if aJsonValueresource matches a set of criteria defined by aQueryFilter.Methods in org.forgerock.util.query with parameters of type JsonPointer Modifier and Type Method Description BooleanJsonValueFilterVisitor. visitComplexFilter(JsonValue p, JsonPointer field, QueryFilter<JsonPointer> subFilter)BooleanJsonValueFilterVisitor. visitContainsFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitEqualsFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitExtendedMatchFilter(JsonValue p, JsonPointer field, String matchingRuleId, Object valueAssertion)BooleanJsonValueFilterVisitor. visitGreaterThanFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitGreaterThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitLessThanFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitLessThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitPresentFilter(JsonValue p, JsonPointer field)BooleanJsonValueFilterVisitor. visitStartsWithFilter(JsonValue p, JsonPointer field, Object valueAssertion)Method parameters in org.forgerock.util.query with type arguments of type JsonPointer Modifier and Type Method Description BooleanJsonValueFilterVisitor. visitAndFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters)BooleanJsonValueFilterVisitor. visitComplexFilter(JsonValue p, JsonPointer field, QueryFilter<JsonPointer> subFilter)BooleanJsonValueFilterVisitor. visitNotFilter(JsonValue p, QueryFilter<JsonPointer> subFilter)BooleanJsonValueFilterVisitor. visitOrFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters)
-