Modifier and Type | Method and Description |
---|---|
Path |
SchemaLibrary.Problem.getPath()
The path to the field about which this problem applies.
|
Modifier and Type | Method and Description |
---|---|
Path |
Path.parent()
Get the parent path, which may be an empty path.
|
Path |
Path.with(String fieldName)
Obtain a path that has this path as the parent and which has as the last segment the supplied field name.
|
Modifier and Type | Method and Description |
---|---|
void |
Editor.Observer.addArrayValue(Path path,
Array.Entry entry)
Insert the entry into the array at the given path.
|
void |
Editor.Observer.clear(Path path)
Remove all fields from the document at the supplied path.
|
void |
Editor.Observer.put(Path parentPath,
String field,
Object newValue)
Set to the given value the field in the document at the supplied path.
|
void |
Editor.Observer.remove(Path parentPath,
String field)
Remove the field from the document at the supplied path.
|
void |
Editor.Observer.removeArrayValue(Path path,
Array.Entry entry)
Remove the entry from the array at the given path.
|
void |
Editor.Observer.setArrayValue(Path path,
Array.Entry entry)
Set the supplied entry in the array at the given path.
|
boolean |
Path.startsWith(Path other)
Determine if the first segments of this path are equal to the segments in the supplied path.
|
Modifier and Type | Field and Description |
---|---|
protected static Path |
SchematicEntryLiteral.FieldPath.CONTENT |
protected static Path |
SchematicEntryLiteral.FieldPath.CONTENT_TYPE |
protected static Path |
SchematicEntryLiteral.FieldPath.ID |
protected static Path |
SchematicEntryLiteral.FieldPath.METADATA |
protected static Path |
SchematicEntryLiteral.FieldPath.ROOT |
Modifier and Type | Method and Description |
---|---|
protected EditableDocument |
SchematicEntryProxy.editorFor(Document doc,
Path pathToDocument,
DocumentObserver observer) |
Modifier and Type | Field and Description |
---|---|
protected Path |
Operation.parentPath |
Modifier and Type | Method and Description |
---|---|
Path |
Operation.getParentPath() |
Constructor and Description |
---|
AddValueIfAbsentOperation(Path path,
Object value) |
AddValueOperation(Path path,
Object value) |
AddValueOperation(Path path,
Object value,
int index) |
ArrayOperation(Path path,
int hashCode) |
ClearOperation(Path path) |
Operation(Path parentPath,
int hashCode) |
PutIfAbsentOperation(Path parentPath,
String fieldName,
Object newValue) |
PutOperation(Path parentPath,
String fieldName,
Object oldValue,
Object newValue) |
RemoveAllValuesOperation(Path path,
Collection<?> values) |
RemoveAtIndexOperation(Path path,
int index) |
RemoveOperation(Path parentPath,
String fieldName,
Object oldValue) |
RemoveValueOperation(Path parentPath,
Object value) |
RetainAllValuesOperation(Path parentPath,
Collection<?> values) |
SetValueOperation(Path parentPath,
Object value,
int index) |
Modifier and Type | Class and Description |
---|---|
protected static class |
Paths.EmptyPath |
protected static class |
Paths.MultiSegmentPath |
protected static class |
Paths.SinglePath |
Modifier and Type | Field and Description |
---|---|
protected static Path |
Paths.EMPTY_PATH |
Modifier and Type | Method and Description |
---|---|
Path |
Paths.EmptyPath.parent() |
Path |
Paths.SinglePath.parent() |
Path |
Paths.MultiSegmentPath.parent() |
static Path |
Paths.path(List<String> fieldNames) |
static Path |
Paths.path(Path path,
List<String> fieldNames) |
static Path |
Paths.path(Path path,
String... fieldNames) |
static Path |
Paths.path(Path path,
String fieldName) |
static Path |
Paths.path(String... fieldNames) |
static Path |
Paths.path(String fieldName) |
Path |
Paths.Externalizer.readObject(ObjectInput input) |
static Path |
Paths.rootPath() |
Path |
Paths.EmptyPath.with(String fieldName) |
Path |
Paths.SinglePath.with(String fieldName) |
Path |
Paths.MultiSegmentPath.with(String fieldName) |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends Path>> |
Paths.Externalizer.getTypeClasses() |
Modifier and Type | Method and Description |
---|---|
int |
Paths.EmptyPath.compareTo(Path that) |
int |
Paths.SinglePath.compareTo(Path that) |
int |
Paths.MultiSegmentPath.compareTo(Path that) |
static Path |
Paths.path(Path path,
List<String> fieldNames) |
static Path |
Paths.path(Path path,
String... fieldNames) |
static Path |
Paths.path(Path path,
String fieldName) |
boolean |
Paths.EmptyPath.startsWith(Path ancestor) |
boolean |
Paths.SinglePath.startsWith(Path ancestor) |
boolean |
Paths.MultiSegmentPath.startsWith(Path other) |
void |
Paths.Externalizer.writeObject(ObjectOutput output,
Path path) |
Constructor and Description |
---|
ObservableArrayEditor(MutableArray array,
Path path,
DocumentObserver observer,
DocumentValueFactory factory) |
ObservableDocumentEditor(MutableDocument document,
Path path,
DocumentObserver delta,
DocumentValueFactory factory) |
Modifier and Type | Method and Description |
---|---|
Path |
ValidationProblem.getPath() |
Path |
DocumentTransformer.Conversion.getPath() |
Modifier and Type | Method and Description |
---|---|
protected void |
JsonSchemaValidatorFactory.addValidatorsForDisallowedTypes(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForDivisibleBy(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForEnum(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForItems(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMaximum(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMaximumItems(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMaximumLength(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMinimum(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMinimumItems(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMinimumLength(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForPattern(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForPatternProperties(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForProperties(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForRequired(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForTypes(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForUniqueItems(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
Validator |
Validator.Factory.create(Document schemaDocument,
Path pathToDoc) |
Validator |
JsonSchemaValidatorFactory.create(Document schemaDocument,
Path pathToDoc) |
protected Validator |
JsonSchemaValidatorFactory.dereference(Document schemaDocument,
Path pathToDoc,
Problems problems) |
void |
ValidationResult.recordError(Path path,
String reason) |
void |
Problems.recordError(Path path,
String message)
Record an error at the given path in a document.
|
void |
JsonSchemaValidatorFactory.SingleProblem.recordError(Path path,
String message) |
void |
ValidationResult.recordError(Path path,
String reason,
Throwable cause) |
void |
Problems.recordError(Path path,
String message,
Throwable exception)
Record an error at the given path in a document.
|
void |
JsonSchemaValidatorFactory.SingleProblem.recordError(Path path,
String message,
Throwable exception) |
void |
ValidationResult.recordTypeMismatch(Path path,
String reason,
JsonSchema.Type actualType,
Object actualValue,
JsonSchema.Type requiredType,
Object convertedValue) |
void |
Problems.recordTypeMismatch(Path path,
String message,
JsonSchema.Type actualType,
Object actualValue,
JsonSchema.Type requiredType,
Object convertedValue)
Record a field value was encountered whose type was not the expected type but could be converted to the expected type.
|
void |
JsonSchemaValidatorFactory.SingleProblem.recordTypeMismatch(Path path,
String message,
JsonSchema.Type actualType,
Object actualValue,
JsonSchema.Type requiredType,
Object convertedValue) |
void |
ValidationResult.recordWarning(Path path,
String reason) |
void |
Problems.recordWarning(Path path,
String message)
Record a warning at the given path in a document.
|
void |
JsonSchemaValidatorFactory.SingleProblem.recordWarning(Path path,
String message) |
void |
Validator.validate(Object fieldValue,
String fieldName,
Document document,
Path pathToDocument,
Problems problems,
Validator.SchemaDocumentResolver resolver)
Validate a portion of the supplied document.
|
void |
JsonSchemaValidatorFactory.TypeValidator.validate(Object fieldValue,
String fieldName,
Document document,
Path pathToDocument,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.UnionValidator.validate(Object fieldValue,
String fieldName,
Document document,
Path pathToDocument,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.ResolvingValidator.validate(Object fieldValue,
String fieldName,
Document document,
Path pathToDocument,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.RequiredValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.NumericValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.MinimumLengthValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.MaximumLengthValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.DivisibleByValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.ItemCountValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.UniqueItemsValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.PatternValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.EnumValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.DisallowedTypesValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.AllItemsMatchValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.EachItemMatchesValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.NotValidValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.PropertyValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.PatternPropertyValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.AllowedPropertiesValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.NoOtherAllowedPropertiesValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.CompositeValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
Constructor and Description |
---|
ValidationProblem(SchemaLibrary.ProblemType type,
Path path,
String reason,
Throwable cause) |
ValidationTypeMismatchProblem(SchemaLibrary.ProblemType type,
Path path,
Object actualValue,
JsonSchema.Type actualType,
JsonSchema.Type expectedType,
Object convertedValue,
String reason,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
void |
JcrRepository.ConfigurationChange.addArrayValue(Path path,
Array.Entry entry) |
void |
JcrRepository.ConfigurationChange.clear(Path path) |
void |
JcrRepository.ConfigurationChange.put(Path parentPath,
String field,
Object newValue) |
void |
JcrRepository.ConfigurationChange.remove(Path path,
String field) |
void |
JcrRepository.ConfigurationChange.removeArrayValue(Path path,
Array.Entry entry) |
void |
JcrRepository.ConfigurationChange.setArrayValue(Path path,
Array.Entry entry) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.