Class Schema.BuilderBase.SchemaImpl
java.lang.Object
io.helidon.json.schema.Schema.BuilderBase.SchemaImpl
- All Implemented Interfaces:
Prototype.Api, Schema
- Enclosing class:
Schema.BuilderBase<BUILDER extends Schema.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Schema>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Schema
Schema.Builder, Schema.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forSchema.static classSchema.BuilderBase<BUILDER extends Schema.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Schema>Fluent API builder base forSchema. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSchemaImpl(Schema.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()id()The base URI for resolving relative references.root()Root schema.Root of the schema should be validated as an array.Root of the schema should be validated as a boolean.Root of the schema should be validated as an integer.rootNull()Root of the schema should be validated as a null.Root of the schema should be validated as a number.Root of the schema should be validated as an object.Root of the schema should be validated as a string.toString()Methods inherited from interface Schema
generate, generateNoKeywords, generateObject, generateObjectNoKeywordsModifier and TypeMethodDescriptiondefault Stringgenerate()Generate the String representation of the schema.default StringGenerate the String representation of the schema without schema keywords.default JsonObjectGenerate theJsonObjectobject of this schema.default JsonObjectGenerate theJsonObjectobject of this schema without schema keywords.
-
Constructor Details
-
SchemaImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
id
-
root
Description copied from interface:SchemaRoot schema. -
rootObject
Description copied from interface:SchemaRoot of the schema should be validated as an object.- Specified by:
rootObjectin interfaceSchema- Returns:
- object root schema
-
rootArray
Description copied from interface:SchemaRoot of the schema should be validated as an array. -
rootNumber
Description copied from interface:SchemaRoot of the schema should be validated as a number.- Specified by:
rootNumberin interfaceSchema- Returns:
- number root schema
-
rootInteger
Description copied from interface:SchemaRoot of the schema should be validated as an integer.- Specified by:
rootIntegerin interfaceSchema- Returns:
- integer root schema
-
rootString
Description copied from interface:SchemaRoot of the schema should be validated as a string.- Specified by:
rootStringin interfaceSchema- Returns:
- string root schema
-
rootBoolean
Description copied from interface:SchemaRoot of the schema should be validated as a boolean.- Specified by:
rootBooleanin interfaceSchema- Returns:
- boolean root schema
-
rootNull
Description copied from interface:SchemaRoot of the schema should be validated as a null. -
toString
-
equals
-
hashCode
-