Index

A B C D E F G H I J K L M N O P Q R S T V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

add(String, String, String, String) - Method in class dev.omnist.codec.WriteReport
Records a single adjustment.
addAll(List<WriteAdjustment>) - Method in class dev.omnist.codec.WriteReport
Appends every adjustment from other to this report, preserving order.
adjustments() - Method in class dev.omnist.codec.WriteReport
Returns an immutable snapshot of every adjustment recorded so far, in the order they were added.
Any() - Constructor for record class dev.omnist.schema.Type.Any
Creates an instance of a Any record class.
AnyFallback - Record Class in dev.omnist.algebra
Explains why a single field was inferred as any rather than a specific scalar kind, part of InferResult.
AnyFallback(String, String) - Constructor for record class dev.omnist.algebra.AnyFallback
Creates an instance of a AnyFallback record class.

B

BOOLEAN - Enum constant in enum class dev.omnist.document.ScalarKind
A boolean value (omnist-spec §2.2.1, type boolean).
BOOLEAN - Enum constant in enum class dev.omnist.schema.ScalarKind
OSD keyword boolean.
BooleanScalar(boolean) - Constructor for record class dev.omnist.document.Scalar.BooleanScalar
Creates an instance of a BooleanScalar record class.

C

CARDINALITY - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
A bracket-enclosed cardinality expression, e.g.
check(Document) - Static method in class dev.omnist.codec.JsonCodec
Checks a Document for JSON-representability issues without serializing it.
check(Document) - Static method in class dev.omnist.codec.TomlCodec
Computes what adjustments TomlCodec.write(Document) would make to node without actually producing TOML text — useful for checking whether a document would round-trip cleanly before committing to a strict write.
check(Document) - Static method in class dev.omnist.codec.XmlCodec
Computes what adjustments XmlCodec.write(Document) would make to node without actually producing XML text.
check(Document) - Static method in class dev.omnist.codec.YamlCodec
Computes what adjustments YamlCodec.write(Document) would make to node without actually producing YAML text.
Cli - Class in dev.omnist.cli
Implements every omnist CLI command: format, validate, convert, schema (with its normalize/prune/extract/ compatible-with/equivalent/is-empty/lint subcommands), and infer.
CliMain - Class in dev.omnist.cli
Process entry point.
code() - Method in record class dev.omnist.algebra.LintFinding
Returns the value of the code record component.
code() - Method in record class dev.omnist.codec.WriteAdjustment
Returns the value of the code record component.
code() - Method in record class dev.omnist.validation.ValidationDiagnostic
Returns the value of the code record component.
col() - Method in record class dev.omnist.oml.OmlLexer.Token
Returns the value of the col record component.
col() - Method in record class dev.omnist.schema.OsdLexer.Token
Returns the value of the col record component.
COLON - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
Colon : separating a label from its value.
COLON - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
Colon : separating a field label from its type.
COMMA - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
Comma , separating array elements.
COMMA - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
Comma , separating fields within a record.
compareTo(LintFinding) - Method in record class dev.omnist.algebra.LintFinding
 
compatibleWith(Schema, Schema) - Static method in class dev.omnist.algebra.SchemaAlgebra
Checks if every Document accepted by Schema A is also accepted by Schema B (§6.6).

D

DATE - Enum constant in enum class dev.omnist.document.ScalarKind
A calendar date with no time component (omnist-spec §2.2.1, type date).
DATE - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
An ISO-8601 date literal (§4.2 rule 4); carries a LocalDate as its value.
DATE - Enum constant in enum class dev.omnist.schema.ScalarKind
OSD keyword date.
DATE_TIME - Enum constant in enum class dev.omnist.document.ScalarKind
A date-time with an optional UTC offset (omnist-spec §2.2.1, type datetime).
DateScalar(LocalDate) - Constructor for record class dev.omnist.document.Scalar.DateScalar
Creates an instance of a DateScalar record class.
dateTime() - Method in record class dev.omnist.document.DateTimeValue
Returns the value of the dateTime record component.
DATETIME - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
An ISO-8601 date-time literal (§4.2 rule 3); carries a DateTimeValue as its value.
DATETIME - Enum constant in enum class dev.omnist.schema.ScalarKind
OSD keyword datetime.
DateTimeScalar(DateTimeValue) - Constructor for record class dev.omnist.document.Scalar.DateTimeScalar
Creates an instance of a DateTimeScalar record class.
DateTimeValue - Record Class in dev.omnist.document
Represents a date and time of day, joined, with optional UTC offset (omnist-spec §2.2.1).
DateTimeValue(LocalDateTime, ZoneOffset) - Constructor for record class dev.omnist.document.DateTimeValue
Creates an instance of a DateTimeValue record class.
DEFAULT - Static variable in record class dev.omnist.document.Limits
Normative reference default limits per omnist-spec §2.4.
dev.omnist.algebra - package dev.omnist.algebra
The normative Schema Algebra: operations that reason about and transform an OSD Schema itself, rather than the documents it describes — normalize, prune, extract, lint, compatible_with, equivalent, is_empty, and structural inference from sample documents (omnist-spec §6).
dev.omnist.cli - package dev.omnist.cli
The omnist command-line interface: parses arguments and dispatches to every subcommand (format, validate, convert, schema normalize/prune/extract/lint/compatible-with/equivalent/is-empty, infer) documented in docs/02-cli-reference.md, wiring the codec, schema, and validation packages together into the tool end users run.
dev.omnist.codec - package dev.omnist.codec
Reading and writing the Document model as the non-OML wire formats — JSON, YAML, TOML, and XML (omnist-spec §7.3) — including the lossy-adjustment reporting (WriteReport) that records when a format's constraints force a value to be adjusted on write.
dev.omnist.conformance - package dev.omnist.conformance
The omnist-spec conformance test harness: runs Track 1 (CLI fixtures) and Track 2 (JSON vectors) from the vendored spec fixtures against this implementation's CLI, verifying it matches the spec's documented behavior (omnist-spec §8.5).
dev.omnist.document - package dev.omnist.document
Omnist document data model core package.
dev.omnist.oml - package dev.omnist.oml
The lexer and parser for OML, Omnist's canonical text format (omnist-spec §4) — the format every other codec's input is normalized through and every omnist format output is written in.
dev.omnist.schema - package dev.omnist.schema
OSD (Omnist Schema Definition) modeling and I/O: the Schema type model — records, fields, scalar kinds — plus the lexer, parser, and writer that read and write schemas in their canonical text form (omnist-spec §5).
dev.omnist.validation - package dev.omnist.validation
Validating and materializing documents against an OSD schema: checking a Document conforms to a Schema and reporting diagnostics when it doesn't (omnist-spec §3.6), and the materialization pass that produces a schema-conformant document from one that's structurally compatible but not yet exact (§6.3, §8.2).
diagnostics() - Method in record class dev.omnist.validation.ValidationResult
Returns the value of the diagnostics record component.
Document - Interface in dev.omnist.document
Root interface representing an Omnist Document (omnist-spec §2.2).

E

Edge - Record Class in dev.omnist.document
An edge in the Document model, consisting of a label and a target (omnist-spec §2.2).
Edge(String, Target) - Constructor for record class dev.omnist.document.Edge
Creates an instance of a Edge record class.
edges() - Method in record class dev.omnist.document.Node
Returns the value of the edges record component.
EOF - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
End-of-input sentinel; always the last token returned by OmlLexer.tokenizeAll().
EOF - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
End-of-input sentinel; always the last token in the list returned by OsdLexer.tokenizeAll().
equals(Object) - Method in record class dev.omnist.algebra.AnyFallback
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.algebra.InferResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.algebra.LintFinding
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.codec.WriteAdjustment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.DateTimeValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Edge
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Limits
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Node
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Scalar.BooleanScalar
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Scalar.DateScalar
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Scalar.DateTimeScalar
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Scalar.IntegerScalar
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Scalar.NumberScalar
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Scalar.StringScalar
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Scalar.TimeScalar
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.TimeValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.document.Value.NullValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.oml.OmlLexer.Token
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.schema.Field
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.schema.OsdLexer.Token
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.schema.Record
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.schema.Schema
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.schema.Type.Any
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.schema.Type.Ref
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.schema.Type.Scalar
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.validation.ValidationDiagnostic
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.omnist.validation.ValidationResult
Indicates whether some other object is "equal to" this one.
equivalenceClasses(Schema) - Static method in class dev.omnist.algebra.SchemaAlgebra
Group record names of schema into structural equivalence classes using partition refinement (§6.8).
equivalent(Schema, Schema) - Static method in class dev.omnist.algebra.SchemaAlgebra
Checks if two Schemas accept the exact same set of Documents (§6.7).
extract(Schema, Set<String>) - Static method in class dev.omnist.algebra.SchemaAlgebra
extract(S, keep) - returns the minimal subschema that recognizes only Documents built from keep labels (§6.9).

F

fallbacks() - Method in record class dev.omnist.algebra.InferResult
Returns the value of the fallbacks record component.
field(String) - Method in record class dev.omnist.schema.Record
Looks up a field by its label, returning the first match in declaration order.
Field - Record Class in dev.omnist.schema
An immutable field declaration within a Record definition (omnist-spec §5.4).
Field(String, Type, int, Integer) - Constructor for record class dev.omnist.schema.Field
Compact constructor that enforces label/type non-null and cardinality invariants.
fields() - Method in record class dev.omnist.schema.Record
Returns the value of the fields record component.
format() - Method in record class dev.omnist.document.DateTimeValue
Formats this value as an ISO-8601 string suitable for OML and codec serialization.
format() - Method in record class dev.omnist.document.TimeValue
Formats this value as an ISO-8601 string suitable for OML and codec serialization.
fromKeyword(String) - Static method in enum class dev.omnist.schema.ScalarKind
Resolves an OSD bareword back to its ScalarKind.

G

getCode() - Method in exception class dev.omnist.oml.OmlParseException
Returns the machine-readable error code identifying the violation category, e.g.
getCode() - Method in exception class dev.omnist.schema.OsdParseException
Returns the machine-readable error code identifying the violation category, e.g.
getColumn() - Method in exception class dev.omnist.oml.OmlParseException
Returns the 1-based column number in the OML source where the error was detected.
getColumn() - Method in exception class dev.omnist.schema.OsdParseException
Returns the 1-based column number in the OSD source where the error was detected.
getLine() - Method in exception class dev.omnist.oml.OmlParseException
Returns the 1-based line number in the OML source where the error was detected.
getLine() - Method in exception class dev.omnist.schema.OsdParseException
Returns the 1-based line number in the OSD source where the error was detected.
getPath() - Method in exception class dev.omnist.oml.OmlParseException
Returns a location string in the form "line:column", identical to the prefix of Throwable.getMessage().
getPath() - Method in exception class dev.omnist.schema.OsdParseException
Returns the schema-path to the element that triggered the error, e.g. a record name, a field path such as "MyRecord.myField", or "$" for root-level errors.
getResult() - Method in exception class dev.omnist.validation.ValidationException
Returns the validation result that caused this exception, including every diagnostic collected before validation was aborted.

H

Harness - Class in dev.omnist.conformance
Conformance test harness entry point for the omnist-spec conformance suite.
hashCode() - Method in record class dev.omnist.algebra.AnyFallback
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.algebra.InferResult
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.algebra.LintFinding
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.codec.WriteAdjustment
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.DateTimeValue
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Edge
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Limits
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Node
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Scalar.BooleanScalar
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Scalar.DateScalar
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Scalar.DateTimeScalar
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Scalar.IntegerScalar
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Scalar.NumberScalar
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Scalar.StringScalar
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Scalar.TimeScalar
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.TimeValue
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.document.Value.NullValue
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.oml.OmlLexer.Token
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.schema.Field
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.schema.OsdLexer.Token
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.schema.Record
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.schema.Schema
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.schema.Type.Any
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.schema.Type.Ref
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.schema.Type.Scalar
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.validation.ValidationDiagnostic
Returns a hash code value for this object.
hashCode() - Method in record class dev.omnist.validation.ValidationResult
Returns a hash code value for this object.

I

IDENT - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
A bare identifier used as an edge label, boolean keyword, or null keyword.
IDENT - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
An identifier: a record name, field type name, or scalar keyword (§5.3).
infer(List<Document>) - Static method in class dev.omnist.algebra.SchemaAlgebra
Infers a schema from a list of sample documents (§6.10), rooted at "Root" with any-fallback disabled.
infer(List<Document>, String, boolean) - Static method in class dev.omnist.algebra.SchemaAlgebra
Infers a schema from a list of sample documents (§6.10).
InferResult - Record Class in dev.omnist.algebra
The result of SchemaAlgebra.inferWithReport(List, String, boolean): the inferred schema plus a report of every field that fell back to any.
InferResult(Schema, List<AnyFallback>) - Constructor for record class dev.omnist.algebra.InferResult
Creates an instance of a InferResult record class.
inferWithReport(List<Document>, String, boolean) - Static method in class dev.omnist.algebra.SchemaAlgebra
Infers a schema from a list of sample documents (§6.10), returning both the schema and a report of every field that fell back to any because its samples mixed incompatible scalar kinds.
INSTANCE - Static variable in record class dev.omnist.document.Value.NullValue
 
INSTANCE - Static variable in record class dev.omnist.schema.Type.Any
The single Type.Any instance.
INTEGER - Enum constant in enum class dev.omnist.document.ScalarKind
An arbitrary-precision integer (omnist-spec §2.2.1, type integer).
INTEGER - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
A decimal integer literal (§4.2 rule 8); carries a BigInteger as its value.
INTEGER - Enum constant in enum class dev.omnist.schema.ScalarKind
OSD keyword integer.
IntegerScalar(BigInteger) - Constructor for record class dev.omnist.document.Scalar.IntegerScalar
Creates an instance of a IntegerScalar record class.
isEmpty(Schema) - Static method in class dev.omnist.algebra.SchemaAlgebra
Checks if a Schema accepts zero finite documents (§6.4).
isValid() - Method in record class dev.omnist.validation.ValidationResult
Returns the value of the isValid record component.

J

JsonCodec - Class in dev.omnist.codec
Codec for reading and writing the Omnist Document model as JSON (omnist-spec §7.3).

K

keyword() - Method in enum class dev.omnist.schema.ScalarKind
Returns the exact bareword this kind is spelled as in OSD schema text.
kind() - Method in record class dev.omnist.document.Scalar.BooleanScalar
 
kind() - Method in record class dev.omnist.document.Scalar.DateScalar
 
kind() - Method in record class dev.omnist.document.Scalar.DateTimeScalar
 
kind() - Method in record class dev.omnist.document.Scalar.IntegerScalar
 
kind() - Method in interface dev.omnist.document.Scalar
Returns the ScalarKind identifying which of the seven scalar types this value is.
kind() - Method in record class dev.omnist.document.Scalar.NumberScalar
 
kind() - Method in record class dev.omnist.document.Scalar.StringScalar
 
kind() - Method in record class dev.omnist.document.Scalar.TimeScalar
 
kind() - Method in record class dev.omnist.schema.Type.Scalar
Returns the value of the kind record component.

L

label() - Method in record class dev.omnist.document.Edge
Returns the value of the label record component.
label() - Method in record class dev.omnist.schema.Field
Returns the value of the label record component.
LBRACE - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
Opening brace token, &#123;.
LBRACE - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
Opening brace token, &#123;.
LBRACKET - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
Opening bracket [.
Limits - Record Class in dev.omnist.document
Safety limits bounding Document nesting depth, node count, and integer literal digits (omnist-spec §2.4).
Limits(int, int, int) - Constructor for record class dev.omnist.document.Limits
Creates an instance of a Limits record class.
line() - Method in record class dev.omnist.oml.OmlLexer.Token
Returns the value of the line record component.
line() - Method in record class dev.omnist.schema.OsdLexer.Token
Returns the value of the line record component.
lint(Schema) - Static method in class dev.omnist.algebra.SchemaAlgebra
lint(S) - diagnoses structural schema issues that compile fine but mean parts of the schema can never do anything (§6.11).
LintFinding - Record Class in dev.omnist.algebra
One structural diagnostic returned by SchemaAlgebra.lint(S) (§6.11).
LintFinding(String, String, String, String) - Constructor for record class dev.omnist.algebra.LintFinding
Creates an instance of a LintFinding record class.
location() - Method in record class dev.omnist.algebra.AnyFallback
Returns the value of the location record component.
location() - Method in record class dev.omnist.algebra.LintFinding
Returns the value of the location record component.

M

main(String[]) - Static method in class dev.omnist.cli.CliMain
JVM entry point: delegates entirely to Cli.run(java.lang.String[], java.io.PrintStream, java.io.PrintStream, java.io.InputStream) and exits with its returned status code.
main(String[]) - Static method in class dev.omnist.conformance.Harness
Runs the full conformance suite and exits the process.
materialize(Document, Schema) - Static method in class dev.omnist.validation.Materializer
Applies schema-driven coercion to node, returning a fully-typed Document.
Materializer - Class in dev.omnist.validation
Schema-driven coercion of a parsed Document into a fully-typed document (omnist-spec §8).
max() - Method in record class dev.omnist.schema.Field
Returns the value of the max record component.
MAX_INPUT_LENGTH - Static variable in class dev.omnist.codec.TomlCodec
Maximum accepted input length in characters, guarding against oversized TOML input.
MAX_INPUT_LENGTH - Static variable in class dev.omnist.codec.XmlCodec
Maximum accepted input length in characters, guarding against oversized XML input.
MAX_INPUT_LENGTH - Static variable in class dev.omnist.codec.YamlCodec
Maximum accepted input length in characters, guarding against oversized YAML input.
maxDepth() - Method in record class dev.omnist.document.Limits
Returns the value of the maxDepth record component.
maxIntegerDigits() - Method in record class dev.omnist.document.Limits
Returns the value of the maxIntegerDigits record component.
maxNodeCount() - Method in record class dev.omnist.document.Limits
Returns the value of the maxNodeCount record component.
message() - Method in record class dev.omnist.algebra.LintFinding
Returns the value of the message record component.
message() - Method in record class dev.omnist.codec.WriteAdjustment
Returns the value of the message record component.
message() - Method in record class dev.omnist.validation.ValidationDiagnostic
Returns the value of the message record component.
min() - Method in record class dev.omnist.schema.Field
Returns the value of the min record component.

N

name() - Method in record class dev.omnist.schema.Record
Returns the value of the name record component.
name() - Method in record class dev.omnist.schema.Type.Ref
Returns the value of the name record component.
nextToken() - Method in class dev.omnist.oml.OmlLexer
Scans and returns the next token from the source, advancing the lexer position.
nextToken() - Method in class dev.omnist.schema.OsdLexer
Scans and returns the next token, advancing the lexer position.
Node - Record Class in dev.omnist.document
A node in the Document model, consisting of an ordered list of labeled edges (omnist-spec §2.1/§2.2).
Node(List<Edge>) - Constructor for record class dev.omnist.document.Node
Creates an instance of a Node record class.
normalize(Schema) - Static method in class dev.omnist.algebra.SchemaAlgebra
normalize(S) - canonical minimal schema equivalent to S (§6.8).
NULL - Static variable in interface dev.omnist.document.Value
Singleton instance representing the null value.
nullable() - Method in record class dev.omnist.schema.Type.Scalar
Returns the value of the nullable record component.
NullValue() - Constructor for record class dev.omnist.document.Value.NullValue
Creates an instance of a NullValue record class.
NUMBER - Enum constant in enum class dev.omnist.document.ScalarKind
An IEEE-754 64-bit floating-point number, including NaN and the infinities (omnist-spec §2.2.1, type number).
NUMBER - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
A floating-point number or reserved float spelling (nan, inf, -inf); carries a double.
NUMBER - Enum constant in enum class dev.omnist.schema.ScalarKind
OSD keyword number.
NumberScalar(double) - Constructor for record class dev.omnist.document.Scalar.NumberScalar
Creates an instance of a NumberScalar record class.

O

of(LocalDateTime) - Static method in record class dev.omnist.document.DateTimeValue
Creates an un-offset date-time (local date-time with no UTC offset).
of(LocalDateTime, ZoneOffset) - Static method in record class dev.omnist.document.DateTimeValue
Creates an offset date-time with an explicit UTC offset.
of(LocalTime) - Static method in record class dev.omnist.document.TimeValue
Creates an un-offset time (local time with no UTC offset).
of(LocalTime, ZoneOffset) - Static method in record class dev.omnist.document.TimeValue
Creates an offset time with an explicit UTC offset.
offset() - Method in record class dev.omnist.document.DateTimeValue
Returns the value of the offset record component.
offset() - Method in record class dev.omnist.document.TimeValue
Returns the value of the offset record component.
OmlLexer - Class in dev.omnist.oml
Normative OML Tokenizer (omnist-spec §4.2).
OmlLexer(String, Limits) - Constructor for class dev.omnist.oml.OmlLexer
Constructs a lexer for the given OML source text.
OmlLexer.Token - Record Class in dev.omnist.oml
An individual token produced by OmlLexer.
OmlLexer.TokenType - Enum Class in dev.omnist.oml
Token types produced by the OML lexer (omnist-spec §4.2).
OmlParseException - Exception Class in dev.omnist.oml
Structured exception thrown when an OML document fails to parse (omnist-spec §8).
OmlParseException(int, int, String, String) - Constructor for exception class dev.omnist.oml.OmlParseException
Constructs an OML parse exception with full location and code details.
OmlReader - Class in dev.omnist.oml
OML (Omnist Markup Language) Core Reader (omnist-spec §4).
OmlReader(String, Limits) - Constructor for class dev.omnist.oml.OmlReader
Constructs a reader over a pre-tokenized OML source.
OmlWriter - Class in dev.omnist.oml
OML (Omnist Markup Language) Canonical Writer (omnist-spec §4 and §9.5).
OsdLexer - Class in dev.omnist.schema
Tokenizer for OSD (Omnist Schema Definition) grammar (omnist-spec §5.3).
OsdLexer(String) - Constructor for class dev.omnist.schema.OsdLexer
Constructs a lexer for the given OSD source text.
OsdLexer.Token - Record Class in dev.omnist.schema
An individual token produced by OsdLexer.
OsdLexer.TokenType - Enum Class in dev.omnist.schema
Token types produced by the OSD lexer (omnist-spec §5.3).
OsdParseException - Exception Class in dev.omnist.schema
Thrown when OSD (Omnist Schema Definition) text fails to parse (omnist-spec §5).
OsdParseException(int, int, String) - Constructor for exception class dev.omnist.schema.OsdParseException
Constructs a parse exception with default code schema.parse-error and path "$".
OsdParseException(int, int, String, String, String) - Constructor for exception class dev.omnist.schema.OsdParseException
Constructs a fully-detailed parse exception.
OsdReader - Class in dev.omnist.schema
OSD (Omnist Schema Definition) Reader (omnist-spec §5).
OsdReader(String) - Constructor for class dev.omnist.schema.OsdReader
Constructs a reader for the given OSD source text.
OsdWriter - Class in dev.omnist.schema
OSD (Omnist Schema Definition) Canonical Writer (omnist-spec §5.9).

P

parseDocument() - Method in class dev.omnist.oml.OmlReader
Parses the token stream into a top-level Document.
parseSchema() - Method in class dev.omnist.schema.OsdReader
Parses the token stream into a Schema (omnist-spec §5.5–§5.8).
path() - Method in record class dev.omnist.codec.WriteAdjustment
Returns the value of the path record component.
path() - Method in record class dev.omnist.validation.ValidationDiagnostic
Returns the value of the path record component.
prune(Schema) - Static method in class dev.omnist.algebra.SchemaAlgebra
Prunes a Schema into an equivalent schema with unreachable records and impossible fields removed (§6.5).

Q

QUESTION - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
Question mark ? marking a scalar type as nullable (§5.4).

R

RBRACE - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
Closing brace token, &#125;.
RBRACE - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
Closing brace token, &#125;.
RBRACKET - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
Closing bracket ].
read(String) - Static method in class dev.omnist.codec.JsonCodec
Parses JSON text into a Document without schema guidance.
read(String) - Static method in class dev.omnist.codec.TomlCodec
Parses TOML text into a Document without schema guidance.
read(String) - Static method in class dev.omnist.codec.XmlCodec
Parses XML text into a Document without schema guidance.
read(String) - Static method in class dev.omnist.codec.YamlCodec
Parses YAML text into a Document without schema guidance.
read(String) - Static method in class dev.omnist.oml.OmlReader
Parses OML text into a Document using Limits.DEFAULT safety limits.
read(String) - Static method in class dev.omnist.schema.OsdReader
Parses OSD text and returns the resulting Schema.
read(String, Limits) - Static method in class dev.omnist.oml.OmlReader
Parses OML text into a Document using caller-supplied safety limits.
read(String, Schema) - Static method in class dev.omnist.codec.JsonCodec
Parses JSON text into a Document.
read(String, Schema) - Static method in class dev.omnist.codec.TomlCodec
Parses TOML text into a Document.
read(String, Schema) - Static method in class dev.omnist.codec.XmlCodec
Parses XML text into a Document, optionally with schema guidance.
read(String, Schema) - Static method in class dev.omnist.codec.YamlCodec
Parses YAML text into a Document.
reason() - Method in record class dev.omnist.algebra.AnyFallback
Returns the value of the reason record component.
Record - Record Class in dev.omnist.schema
An immutable record definition in the OSD schema model (omnist-spec §5.5).
Record(String, List<Field>) - Constructor for record class dev.omnist.schema.Record
Creates an instance of a Record record class.
RECORD - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
The keyword record, introducing a record definition (§5.5).
records() - Method in record class dev.omnist.schema.Schema
Returns the value of the records record component.
Ref(String) - Constructor for record class dev.omnist.schema.Type.Ref
Creates an instance of a Ref record class.
report() - Method in exception class dev.omnist.codec.WriteException
Returns the adjustments recorded before this exception was thrown.
root() - Method in record class dev.omnist.schema.Schema
Returns the value of the root record component.
ROOT - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
The keyword root, declaring the root record name (§5.6).
run(String[], PrintStream, PrintStream, InputStream) - Static method in class dev.omnist.cli.Cli
Parses and executes a single CLI invocation.
runTrack1(Path, Path) - Static method in class dev.omnist.conformance.Track1Runner
Runs every fixture under fixturesDir against the CLI jar built from repoDir and returns the tally.
runTrack2(Path) - Static method in class dev.omnist.conformance.Track2Runner
Runs every JSON vector under testSuiteDir and returns the tally.

S

satisfiableSet(Schema) - Static method in class dev.omnist.algebra.SchemaAlgebra
Computes the set of record names in schema S that admit at least one finite document (§6.4).
Scalar - Interface in dev.omnist.document
Represents a scalar value in the Omnist Document model (omnist-spec §2.2.1).
Scalar(ScalarKind, boolean) - Constructor for record class dev.omnist.schema.Type.Scalar
Creates an instance of a Scalar record class.
Scalar.BooleanScalar - Record Class in dev.omnist.document
A scalar holding a boolean value (omnist-spec §2.2.1, type boolean).
Scalar.DateScalar - Record Class in dev.omnist.document
A scalar holding a calendar date without a time component (omnist-spec §2.2.1, type date).
Scalar.DateTimeScalar - Record Class in dev.omnist.document
A scalar holding a date-time with an optional UTC offset (omnist-spec §2.2.1, type datetime).
Scalar.IntegerScalar - Record Class in dev.omnist.document
A scalar holding an arbitrary-precision integer value (omnist-spec §2.2.1, type integer).
Scalar.NumberScalar - Record Class in dev.omnist.document
A scalar holding an IEEE-754 64-bit floating-point number (omnist-spec §2.2.1, type number).
Scalar.StringScalar - Record Class in dev.omnist.document
A scalar holding a Unicode text value (omnist-spec §2.2.1, type string).
Scalar.TimeScalar - Record Class in dev.omnist.document
A scalar holding a time-of-day with an optional UTC offset (omnist-spec §2.2.1, type time).
ScalarKind - Enum Class in dev.omnist.document
The seven scalar kinds defined by omnist-spec §2.2.1.
ScalarKind - Enum Class in dev.omnist.schema
The seven scalar type keywords a field can name in OSD (omnist-spec §5, §3.3).
schema() - Method in record class dev.omnist.algebra.InferResult
Returns the value of the schema record component.
Schema - Record Class in dev.omnist.schema
A parsed OSD schema (omnist-spec §5, §3): a root record name plus the graph of named records it (transitively) reaches.
Schema(String, Map<String, Record>) - Constructor for record class dev.omnist.schema.Schema
Creates an instance of a Schema record class.
SchemaAlgebra - Class in dev.omnist.algebra
Normative Schema Algebra operations (§6 of 06-schema-algebra.md).
SEPARATOR - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
A logical line separator: one or more of \n, \r, or ;.
severity() - Method in record class dev.omnist.algebra.LintFinding
Returns the value of the severity record component.
severity() - Method in record class dev.omnist.codec.WriteAdjustment
Returns the value of the severity record component.
STRING - Enum constant in enum class dev.omnist.document.ScalarKind
Unicode text (omnist-spec §2.2.1, type string).
STRING - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
A string value — double-quoted, raw single-quoted, or triple-quoted multiline.
STRING - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
A double-quoted field-name string (§5.3.1); the token text contains the unescaped content.
STRING - Enum constant in enum class dev.omnist.schema.ScalarKind
OSD keyword string.
StringScalar(String) - Constructor for record class dev.omnist.document.Scalar.StringScalar
Creates an instance of a StringScalar record class.

T

target() - Method in record class dev.omnist.document.Edge
Returns the value of the target record component.
Target - Interface in dev.omnist.document
A target is either a value or a node (omnist-spec §2.2).
text() - Method in record class dev.omnist.oml.OmlLexer.Token
Returns the value of the text record component.
text() - Method in record class dev.omnist.schema.OsdLexer.Token
Returns the value of the text record component.
time() - Method in record class dev.omnist.document.TimeValue
Returns the value of the time record component.
TIME - Enum constant in enum class dev.omnist.document.ScalarKind
A time-of-day with an optional UTC offset (omnist-spec §2.2.1, type time).
TIME - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
An ISO-8601 time literal (§4.2 rule 5); carries a TimeValue as its value.
TIME - Enum constant in enum class dev.omnist.schema.ScalarKind
OSD keyword time.
TimeScalar(TimeValue) - Constructor for record class dev.omnist.document.Scalar.TimeScalar
Creates an instance of a TimeScalar record class.
TimeValue - Record Class in dev.omnist.document
Represents a time of day with optional UTC offset (omnist-spec §2.2.1).
TimeValue(LocalTime, ZoneOffset) - Constructor for record class dev.omnist.document.TimeValue
Creates an instance of a TimeValue record class.
Token(OmlLexer.TokenType, String, Object, int, int) - Constructor for record class dev.omnist.oml.OmlLexer.Token
Creates an instance of a Token record class.
Token(OsdLexer.TokenType, String, int, int) - Constructor for record class dev.omnist.schema.OsdLexer.Token
Creates an instance of a Token record class.
tokenizeAll() - Method in class dev.omnist.oml.OmlLexer
Tokenizes the entire source, returning a list ending with a single OmlLexer.TokenType.EOF token.
tokenizeAll() - Method in class dev.omnist.schema.OsdLexer
Tokenizes the entire source, returning a list ending with a single OsdLexer.TokenType.EOF token.
TomlCodec - Class in dev.omnist.codec
Codec for reading and writing the Omnist Document model as TOML (omnist-spec §7.3), built on the tomlj parser.
toString() - Method in record class dev.omnist.algebra.AnyFallback
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.algebra.InferResult
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.algebra.LintFinding
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.codec.WriteAdjustment
Returns a string representation of this record class.
toString() - Method in class dev.omnist.codec.WriteReport
 
toString() - Method in record class dev.omnist.document.DateTimeValue
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Edge
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Limits
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Node
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Scalar.BooleanScalar
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Scalar.DateScalar
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Scalar.DateTimeScalar
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Scalar.IntegerScalar
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Scalar.NumberScalar
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Scalar.StringScalar
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Scalar.TimeScalar
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.TimeValue
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.document.Value.NullValue
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.oml.OmlLexer.Token
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.schema.Field
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.schema.OsdLexer.Token
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.schema.Record
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.schema.Schema
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.schema.Type.Any
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.schema.Type.Ref
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.schema.Type.Scalar
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.validation.ValidationDiagnostic
Returns a string representation of this record class.
toString() - Method in record class dev.omnist.validation.ValidationResult
Returns a string representation of this record class.
Track1Runner - Class in dev.omnist.conformance
Track 1 of the conformance harness: runs the compiled omnist CLI as a real subprocess against the fixture-based test suite (omnist-spec §8.5) and compares its stdout/stderr/exit-code against each fixture's expected result.
Track2Runner - Class in dev.omnist.conformance
Track 2 of the conformance harness: runs the omnist-spec's JSON-vector test suite (omnist-spec §8.5) directly in-process against this port's public API (no CLI subprocess), dispatching each vector's operation and comparing the result or diagnostics against the vector's expected outcome.
type() - Method in record class dev.omnist.oml.OmlLexer.Token
Returns the value of the type record component.
type() - Method in record class dev.omnist.schema.Field
Returns the value of the type record component.
type() - Method in record class dev.omnist.schema.OsdLexer.Token
Returns the value of the type record component.
Type - Interface in dev.omnist.schema
The three field-type forms an OSD schema field can declare (omnist-spec §5.3, §3.3): a scalar kind, a reference to another record, or the open any type.
Type.Any - Record Class in dev.omnist.schema
The open any type: accepts any value unchecked (omnist-spec §5.3.3).
Type.Ref - Record Class in dev.omnist.schema
A field typed as a reference to another record in the same schema (omnist-spec §5.3.2).
Type.Scalar - Record Class in dev.omnist.schema
A field typed as one of the seven scalar kinds, optionally nullable.

V

validate(Document, Schema) - Static method in class dev.omnist.validation.Validator
Validates a Document against a Schema.
ValidationDiagnostic - Record Class in dev.omnist.validation
Diagnostic emitted when validation fails against an OSD Schema (§8.2, §8.3.4).
ValidationDiagnostic(String, String, String) - Constructor for record class dev.omnist.validation.ValidationDiagnostic
Creates an instance of a ValidationDiagnostic record class.
ValidationException - Exception Class in dev.omnist.validation
Thrown by strict-mode validation calls when a Document fails to conform to a Schema (omnist-spec §3.6).
ValidationException(ValidationResult) - Constructor for exception class dev.omnist.validation.ValidationException
Constructs a validation exception carrying the full result that caused it.
ValidationResult - Record Class in dev.omnist.validation
Structured outcome of validating a Document against a Schema (§3.6).
ValidationResult(boolean, List<ValidationDiagnostic>) - Constructor for record class dev.omnist.validation.ValidationResult
Creates an instance of a ValidationResult record class.
Validator - Class in dev.omnist.validation
OSD Schema Validator (omnist-spec §3.6, §3.6.1, §8.3.4).
value() - Method in record class dev.omnist.document.Scalar.BooleanScalar
Returns the value of the value record component.
value() - Method in record class dev.omnist.document.Scalar.DateScalar
Returns the value of the value record component.
value() - Method in record class dev.omnist.document.Scalar.DateTimeScalar
Returns the value of the value record component.
value() - Method in record class dev.omnist.document.Scalar.IntegerScalar
Returns the value of the value record component.
value() - Method in record class dev.omnist.document.Scalar.NumberScalar
Returns the value of the value record component.
value() - Method in record class dev.omnist.document.Scalar.StringScalar
Returns the value of the value record component.
value() - Method in record class dev.omnist.document.Scalar.TimeScalar
Returns the value of the value record component.
value() - Method in record class dev.omnist.oml.OmlLexer.Token
Returns the value of the value record component.
Value - Interface in dev.omnist.document
Represents a value in the Document model (omnist-spec §2.2).
Value.NullValue - Record Class in dev.omnist.document
Represents the null value in the Document model (omnist-spec §2.2.1).
valueOf(String) - Static method in enum class dev.omnist.document.ScalarKind
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.omnist.oml.OmlLexer.TokenType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.omnist.schema.OsdLexer.TokenType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.omnist.schema.ScalarKind
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.omnist.document.ScalarKind
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.omnist.oml.OmlLexer.TokenType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.omnist.schema.OsdLexer.TokenType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.omnist.schema.ScalarKind
Returns an array containing the constants of this enum class, in the order they are declared.

W

write(Document) - Static method in class dev.omnist.codec.JsonCodec
Serializes a Document to compact JSON with no indentation.
write(Document) - Static method in class dev.omnist.codec.TomlCodec
Serializes a Document to TOML text, non-strict (dropping unrepresentable leaves rather than throwing).
write(Document) - Static method in class dev.omnist.codec.XmlCodec
Serializes a Document to XML text, non-strict (dropping/sanitizing unrepresentable content rather than throwing).
write(Document) - Static method in class dev.omnist.codec.YamlCodec
Serializes a Document to YAML text, non-strict (applying adjustments rather than throwing).
write(Document) - Static method in class dev.omnist.oml.OmlWriter
Serializes a Document to canonical indented OML text (omnist-spec §4 and §9.5).
write(Document, boolean, WriteReport) - Static method in class dev.omnist.codec.TomlCodec
Serializes a Document to TOML text.
write(Document, boolean, WriteReport) - Static method in class dev.omnist.codec.XmlCodec
Serializes a Document to XML text.
write(Document, boolean, WriteReport) - Static method in class dev.omnist.codec.YamlCodec
Serializes a Document to YAML text.
write(Document, Integer, boolean, WriteReport) - Static method in class dev.omnist.codec.JsonCodec
Serializes a Document to JSON, optionally indented and in strict mode.
write(Schema) - Static method in class dev.omnist.schema.OsdWriter
Serializes a Schema to canonical OSD text format (omnist-spec §5.9).
WriteAdjustment - Record Class in dev.omnist.codec
A single format-specific adjustment a codec's writer made to represent a document in a target format that cannot express it exactly, part of a WriteReport (omnist-spec §8.3.8's format.* diagnostic family — e.g. a dropped null, or a temporal value stringified because the format has no native temporal type).
WriteAdjustment(String, String, String, String) - Constructor for record class dev.omnist.codec.WriteAdjustment
Creates an instance of a WriteAdjustment record class.
writeCompact(Document) - Static method in class dev.omnist.oml.OmlWriter
Serializes a Document to compact inline OML text.
writeCompact(Schema) - Static method in class dev.omnist.schema.OsdWriter
Serializes a Schema to compact single-line OSD text.
WriteException - Exception Class in dev.omnist.codec
Thrown by a codec's write/check path when a document cannot be written to the target format at all (e.g.
WriteException(String) - Constructor for exception class dev.omnist.codec.WriteException
Constructs a write exception with no recorded adjustments.
WriteException(String, WriteReport) - Constructor for exception class dev.omnist.codec.WriteException
Constructs a write exception carrying the adjustments that led to it (typically used in strict mode, where any adjustment is itself the failure).
WriteReport - Class in dev.omnist.codec
Accumulates the format.* adjustments (omnist-spec §8.3.8) a codec's writer made while serializing a document that couldn't be represented exactly in the target format.
WriteReport() - Constructor for class dev.omnist.codec.WriteReport
 

X

XmlCodec - Class in dev.omnist.codec
Codec for reading and writing the Omnist Document model as XML (omnist-spec §7.3), built on javax.xml.parsers/DOM.

Y

YamlCodec - Class in dev.omnist.codec
Codec for reading and writing the Omnist Document model as YAML (omnist-spec §7.3), built on SnakeYAML.
A B C D E F G H I J K L M N O P Q R S T V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form