Package com.networknt.schema
Class CollectorContext.Scope
- java.lang.Object
-
- com.networknt.schema.CollectorContext.Scope
-
- Enclosing class:
- CollectorContext
public static class CollectorContext.Scope extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonSchema
getContainingSchema()
Collection<JsonNodePath>
getEvaluatedItems()
Identifies which array items have been evaluated.Collection<JsonNodePath>
getEvaluatedProperties()
Identifies which properties have been evaluated.boolean
isTop()
CollectorContext.Scope
mergeWith(CollectorContext.Scope scope)
Merges the provided scope into this scope.String
toString()
-
-
-
Method Detail
-
isTop
public boolean isTop()
-
getContainingSchema
public JsonSchema getContainingSchema()
-
getEvaluatedItems
public Collection<JsonNodePath> getEvaluatedItems()
Identifies which array items have been evaluated.- Returns:
- the set of evaluated items (never null)
-
getEvaluatedProperties
public Collection<JsonNodePath> getEvaluatedProperties()
Identifies which properties have been evaluated.- Returns:
- the set of evaluated properties (never null)
-
mergeWith
public CollectorContext.Scope mergeWith(CollectorContext.Scope scope)
Merges the provided scope into this scope.- Parameters:
scope
- the scope to merge- Returns:
- this scope
-
-