Index
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
otherto 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.
- AlgebraException - Exception Class in dev.omnist.algebra
-
Structured exception thrown when a schema algebra or inference operation fails (omnist-spec §6).
- AlgebraException(String, String, String) - Constructor for exception class dev.omnist.algebra.AlgebraException
-
Constructs an algebra exception with path, code, and message.
- AlgebraException(String, String, String, Throwable) - Constructor for exception class dev.omnist.algebra.AlgebraException
-
Constructs an algebra exception with path, code, message, and cause.
- allEncodable(Document) - Static method in class dev.omnist.codec.Encodability
-
The fast pass: whether every edge label and string value of
dochas a UTF-8 encoding. - Any() - Constructor for record class dev.omnist.schema.Type.Any
-
Creates an instance of a
Anyrecord class. - AnyFallback - Record Class in dev.omnist.algebra
-
Explains why a single field was inferred as
anyrather than a specific scalar kind, part ofInferResult. - AnyFallback(String, String) - Constructor for record class dev.omnist.algebra.AnyFallback
-
Creates an instance of a
AnyFallbackrecord class.
B
- Bom - Class in dev.omnist.document
-
The one place the leading byte-order mark rules live (omnist-spec section 2.5, D-15 and D-21).
- 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
BooleanScalarrecord 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
Documentfor JSON-representability issues without serializing it. - check(Document) - Static method in class dev.omnist.codec.TomlCodec
-
Computes what adjustments
TomlCodec.write(Document)would make tonodewithout 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 tonodewithout actually producing XML text. - check(Document) - Static method in class dev.omnist.codec.YamlCodec
-
Computes what adjustments
YamlCodec.write(Document)would make tonodewithout actually producing YAML text. - checkLength(long, int, String) - Static method in class dev.omnist.document.InputSize
-
Checks the size of a byte array.
- child(String, String) - Static method in class dev.omnist.document.PathUtils
-
Appends one label to a Document path (E-36): bare as
.label, or bracket-quoted as["label"]when the label is empty or holds a dot, a bracket, a double quote, a backslash, a control character, U+007F, U+0085, U+2028 or U+2029. - childPath(String, String, int, int) - Static method in class dev.omnist.document.PathUtils
-
Builds a canonical child path for an edge on a node.
- Cli - Class in dev.omnist.cli
-
Implements every
omnistCLI command:format,validate,convert,schema(with itsnormalize/prune/extract/compatible-with/equivalent/is-empty/lintsubcommands), andinfer. - CliMain - Class in dev.omnist.cli
-
Process entry point.
- code() - Method in record class dev.omnist.algebra.LintFinding
-
Returns the value of the
coderecord component. - code() - Method in record class dev.omnist.codec.WriteAdjustment
-
Returns the value of the
coderecord component. - code() - Method in record class dev.omnist.validation.ValidationDiagnostic
-
Returns the value of the
coderecord component. - CODE - Static variable in class dev.omnist.document.InputSize
-
document.limit.input-size: the input is larger than the maximum (D-23). - col() - Method in record class dev.omnist.oml.OmlLexer.Token
-
Returns the value of the
colrecord component. - col() - Method in record class dev.omnist.schema.OsdLexer.Token
-
Returns the value of the
colrecord 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).
- countLabels(Node) - Static method in class dev.omnist.document.PathUtils
-
Precomputes the total occurrence counts for each label on a
Node.
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
LocalDateas 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, validating its components.
- dateTime() - Method in record class dev.omnist.document.DateTimeValue
-
Returns the value of the
dateTimerecord component. - DATETIME - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
-
An ISO-8601 date-time literal (§4.2 rule 3); carries a
DateTimeValueas 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, validating its components.
- 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, validating its components.
- DEFAULT - Static variable in record class dev.omnist.codec.YamlLimits
-
The reference defaults.
- DEFAULT - Static variable in record class dev.omnist.document.Limits
-
Normative reference default limits per omnist-spec §2.4, plus this port's input-size default.
- DEFAULT_MAX_ALIAS_EXPANSION - Static variable in record class dev.omnist.codec.YamlLimits
-
Reference default for the maximum alias expansion factor (D-18).
- DEFAULT_MAX_EXPANDED_SLOTS - Static variable in record class dev.omnist.codec.YamlLimits
-
Reference default for the maximum expanded size in value slots (D-22).
- DEFAULT_MAX_INPUT_BYTES - Static variable in record class dev.omnist.document.Limits
-
This implementation's default maximum input size (D-23, D-24): 64 MiB.
- dev.omnist.algebra - package dev.omnist.algebra
-
The normative Schema Algebra: operations that reason about and transform an OSD
Schemaitself, 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
omnistcommand-line interface: parses arguments and dispatches to every subcommand (format,validate,convert,schema normalize/prune/extract/lint/compatible-with/equivalent/is-empty,infer) documented indocs/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
Documentmodel 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 formatoutput is written in. - dev.omnist.schema - package dev.omnist.schema
-
OSD (Omnist Schema Definition) modeling and I/O: the
Schematype 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
Documentconforms to aSchemaand 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
diagnosticsrecord component. - Document - Interface in dev.omnist.document
-
Root interface representing an Omnist Document (omnist-spec §2.2).
- DocumentParseException - Exception Class in dev.omnist.document
-
Structured exception thrown when a document fails to parse, violates safety limits, or contains invalid/unsupported structures across format codecs (omnist-spec §7, §8).
- DocumentParseException(String, String, String) - Constructor for exception class dev.omnist.document.DocumentParseException
-
Constructs a document parse exception with path, code, and message.
- DocumentParseException(String, String, String, Throwable) - Constructor for exception class dev.omnist.document.DocumentParseException
-
Constructs a document parse exception with path, code, message, and cause.
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, validating its components.
- edges() - Method in record class dev.omnist.document.Node
-
Returns the value of the
edgesrecord component. - Encodability - Class in dev.omnist.codec
-
Rule C-9 of omnist-spec section 7.3: every writer fails with
write.unsupported-value, and unconditionally, on a string value or an edge label that has no UTF-8 encoding. - Encodability.LoneSurrogate - Exception Class in dev.omnist.codec
-
Thrown by a writer that meets an unencodable string while it is writing, so that it needs no separate scan first; the writer catches it and turns it into the
Encodability.refusal(dev.omnist.document.Document)of C-9. - 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.codec.YamlLimits
-
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).
- exceeds(String, int) - Static method in class dev.omnist.document.InputSize
-
Whether
textis more thanmaxBytesUTF-8 bytes long. - 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
fallbacksrecord 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
Recorddefinition (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
fieldsrecord 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.algebra.AlgebraException
-
Returns the machine-readable error code identifying the violation category.
- getCode() - Method in exception class dev.omnist.document.DocumentParseException
-
Returns the machine-readable error code identifying the violation category.
- 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.
- getCode() - Method in exception class dev.omnist.schema.SchemaException
-
Returns the machine-readable error code.
- 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.algebra.AlgebraException
-
Returns the schema element path where the error was detected.
- getPath() - Method in exception class dev.omnist.document.DocumentParseException
-
Returns the JSONPath-style document path 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 ofThrowable.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. - getPath() - Method in exception class dev.omnist.schema.SchemaException
-
Returns the schema path where the violation was detected.
- 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.
- groupEdges(Object) - Static method in class dev.omnist.document.PathUtils
-
Groups repeated child edges into lists or single values for JSON, YAML, and TOML serialization.
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.codec.YamlLimits
-
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.
- hasInterleavedLabels(Node) - Static method in class dev.omnist.document.PathUtils
-
Detects whether grouping
node's direct child edges by label (the transform every JSON-family writer -- JSON, YAML, TOML -- applies viaPathUtils.groupEdges(java.lang.Object)) would change their relative order: true when two or more distinct labels are present and at least one label's occurrences are not all contiguous in the original edge order (omnist-specformat.interleaving-lost, Sec8.3.8).
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).
- IDENT_PATTERN - Static variable in class dev.omnist.oml.OmlLexer
-
Matches an OML identifier at the start of the input.
- 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"withany-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 toany. - InferResult(Schema, List<AnyFallback>) - Constructor for record class dev.omnist.algebra.InferResult
-
Creates an instance of a
InferResultrecord 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
anybecause its samples mixed incompatible scalar kinds. - InputSize - Class in dev.omnist.document
-
The one place the input-size bound lives (omnist-spec section 2.4.2, D-23 to D-26).
- INSTANCE - Static variable in exception class dev.omnist.codec.Encodability.LoneSurrogate
-
The single instance: the exception carries no state.
- 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.Anyinstance. - 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
BigIntegeras 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, validating its components.
- isEmpty(Schema) - Static method in class dev.omnist.algebra.SchemaAlgebra
-
Checks if a Schema accepts zero finite documents (§6.4).
- isEncodable(String) - Static method in class dev.omnist.codec.Encodability
-
Whether
shas a UTF-8 encoding, that is, holds no lone surrogate. - isValid() - Method in record class dev.omnist.validation.ValidationResult
-
Returns the value of the
isValidrecord 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
ScalarKindidentifying 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
kindrecord component.
L
- label() - Method in record class dev.omnist.document.Edge
-
Returns the value of the
labelrecord component. - label() - Method in record class dev.omnist.schema.Field
-
Returns the value of the
labelrecord component. - LBRACE - Enum constant in enum class dev.omnist.oml.OmlLexer.TokenType
-
Opening brace token,
{. - LBRACE - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
-
Opening brace token,
{. - 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, integer literal digits and input size (omnist-spec section 2.4 and 2.4.2).
- Limits(int, int, int) - Constructor for record class dev.omnist.document.Limits
-
The limits of releases before the input-size bound existed: the given three, and the default
Limits.DEFAULT_MAX_INPUT_BYTESinput size. - Limits(int, int, int, int) - Constructor for record class dev.omnist.document.Limits
-
Creates an instance, validating its components.
- line() - Method in record class dev.omnist.oml.OmlLexer.Token
-
Returns the value of the
linerecord component. - line() - Method in record class dev.omnist.schema.OsdLexer.Token
-
Returns the value of the
linerecord 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
LintFindingrecord class. - localText(LocalDateTime) - Static method in record class dev.omnist.document.DateTimeValue
-
The
YYYY-MM-DDTHH:MM:SS[.fractional]spelling of a local date-time, the seconds always written (seeTimeValue.localText(java.time.LocalTime)). - localText(LocalTime) - Static method in record class dev.omnist.document.TimeValue
-
The
HH:MM:SS[.fractional]spelling of a local time. - location() - Method in record class dev.omnist.algebra.AnyFallback
-
Returns the value of the
locationrecord component. - location() - Method in record class dev.omnist.algebra.LintFinding
-
Returns the value of the
locationrecord 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.
- MARK - Static variable in class dev.omnist.document.Bom
-
The byte-order mark, U+FEFF.
- materialize(Document, Schema) - Static method in class dev.omnist.validation.Materializer
-
Applies schema-driven coercion to
node, returning a fully-typedDocument. - Materializer - Class in dev.omnist.validation
-
Schema-driven coercion of a parsed
Documentinto a fully-typed document (omnist-spec §8). - max() - Method in record class dev.omnist.schema.Field
-
Returns the value of the
maxrecord component. - MAX_ALIAS_EXPANSION_CEILING - Static variable in record class dev.omnist.codec.YamlLimits
-
Largest accepted
maxAliasExpansion. - MAX_EXPANDED_SLOTS_CEILING - Static variable in record class dev.omnist.codec.YamlLimits
-
Largest accepted
maxExpandedSlots: the ceiling omnist-spec D-22 recommends. - MAX_INPUT_BYTES_CEILING - Static variable in record class dev.omnist.document.Limits
-
Largest accepted
maxInputBytes: 1 GiB, well inside a JavaStringand a heap. - maxAliasExpansion() - Method in record class dev.omnist.codec.YamlLimits
-
Returns the value of the
maxAliasExpansionrecord component. - maxDepth() - Method in record class dev.omnist.document.Limits
-
Returns the value of the
maxDepthrecord component. - maxExpandedSlots() - Method in record class dev.omnist.codec.YamlLimits
-
Returns the value of the
maxExpandedSlotsrecord component. - maxInputBytes() - Method in record class dev.omnist.document.Limits
-
Returns the value of the
maxInputBytesrecord component. - maxIntegerDigits() - Method in record class dev.omnist.document.Limits
-
Returns the value of the
maxIntegerDigitsrecord component. - maxNodeCount() - Method in record class dev.omnist.document.Limits
-
Returns the value of the
maxNodeCountrecord component. - message() - Method in record class dev.omnist.algebra.LintFinding
-
Returns the value of the
messagerecord component. - message() - Method in record class dev.omnist.codec.WriteAdjustment
-
Returns the value of the
messagerecord component. - message() - Method in record class dev.omnist.validation.ValidationDiagnostic
-
Returns the value of the
messagerecord component. - message(String, int) - Static method in class dev.omnist.document.InputSize
-
The message of a refusal for text of known size.
- min() - Method in record class dev.omnist.schema.Field
-
Returns the value of the
minrecord component.
N
- name() - Method in record class dev.omnist.schema.Record
-
Returns the value of the
namerecord component. - name() - Method in record class dev.omnist.schema.Type.Ref
-
Returns the value of the
namerecord 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, validating its components.
- 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
nullablerecord component. - NullValue() - Constructor for record class dev.omnist.document.Value.NullValue
-
Creates an instance of a
NullValuerecord 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
NumberScalarrecord 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
offsetrecord component. - offset() - Method in record class dev.omnist.document.TimeValue
-
Returns the value of the
offsetrecord 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.
- OmlParseException(int, int, String, String, String) - Constructor for exception class dev.omnist.oml.OmlParseException
-
Constructs an OML parse exception whose diagnostic path is a Document path rather than a text position, as E-11 requires for the
document.*family (for exampledocument.limit.depth). - 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, 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.
- OsdReader(String, Limits) - Constructor for class dev.omnist.schema.OsdReader
-
Constructs a reader that refuses source of more than
Limits.maxInputBytes()bytes (D-23). - OsdWriter - Class in dev.omnist.schema
-
OSD (Omnist Schema Definition) Canonical Writer (omnist-spec §5.9).
P
- parse(String) - Static method in record class dev.omnist.document.DateTimeValue
-
Parses an ISO-8601 date-time string into a
DateTimeValue. - parse(String) - Static method in record class dev.omnist.document.TimeValue
-
Parses an ISO-8601 time string into a
TimeValue. - 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
pathrecord component. - path() - Method in record class dev.omnist.validation.ValidationDiagnostic
-
Returns the value of the
pathrecord component. - PathUtils - Class in dev.omnist.document
-
Shared utilities for constructing canonical document paths in diagnostics and report adjustments (omnist-spec §8).
- 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,
}. - RBRACE - Enum constant in enum class dev.omnist.schema.OsdLexer.TokenType
-
Closing brace token,
}. - 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. - read(String) - Static method in class dev.omnist.codec.TomlCodec
-
Parses TOML text into a
Document. - read(String) - Static method in class dev.omnist.codec.XmlCodec
-
Parses XML text into a
Documentwithout schema guidance. - read(String) - Static method in class dev.omnist.codec.YamlCodec
-
Parses YAML text into a
Document, with the reference alias limits (YamlLimits.DEFAULT). - read(String) - Static method in class dev.omnist.oml.OmlReader
-
Parses OML text into a
DocumentusingLimits.DEFAULTsafety 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
Documentusing caller-supplied safety limits. - read(String, Limits) - Static method in class dev.omnist.schema.OsdReader
-
Parses OSD text as
OsdReader.read(String)does, refusing source of more thanLimits.maxInputBytes()bytes withdocument.limit.input-sizeat$(D-23). - read(String, Schema) - Static method in class dev.omnist.codec.JsonCodec
-
Deprecated, for removal: This API element is subject to removal in a future version.
- read(String, Schema) - Static method in class dev.omnist.codec.TomlCodec
-
Deprecated, for removal: This API element is subject to removal in a future version.The
schemaparameter is ignored for TOML. UseTomlCodec.read(String)followed byMaterializer.materialize(Document, Schema)if schema-driven coercion is required. - 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
-
Deprecated, for removal: This API element is subject to removal in a future version.The
schemaparameter is ignored for YAML. UseYamlCodec.read(String)followed byMaterializer.materialize(Document, Schema)if schema-driven coercion is required. - read(String, Schema, WriteReport) - Static method in class dev.omnist.codec.XmlCodec
-
Parses XML text into a
Document, optionally with schema guidance and a read-side diagnostic report. - readBounded(InputStream, int, String) - Static method in class dev.omnist.document.InputSize
-
Reads
into its end, stopping as soon as it is known to hold more thanmaxBytes: at mostmaxBytes + 1bytes are ever buffered. - readWithLimits(String, YamlLimits) - Static method in class dev.omnist.codec.YamlCodec
-
Parses YAML text into a
Document, bounding what its anchors and aliases may expand to (omnist-spec section 2.4.1). - readWithLimits(String, YamlLimits, Limits) - Static method in class dev.omnist.codec.YamlCodec
-
Parses YAML text as
YamlCodec.readWithLimits(String, YamlLimits)does, and refuses input larger thanLimits.maxInputBytes()bytes first (D-23). - readWithLimits(String, Limits) - Static method in class dev.omnist.codec.JsonCodec
-
Parses JSON text into a
Document, refusing input larger thanLimits.maxInputBytes()bytes (D-23) and honouring the depth, node-count and integer-digit bounds oflimits(D-9, E-4a) with the diagnostics the OML reader gives:document.limit.depthanddocument.limit.nodesat$,document.limit.int-digitsat the Document path of the integer. - readWithLimits(String, Limits) - Static method in class dev.omnist.codec.TomlCodec
-
Parses TOML text into a
Document, refusing input larger thanLimits.maxInputBytes()bytes (D-23) and honouring the depth, node-count and integer-digit bounds oflimits(D-9, E-4a) with the diagnostics the OML reader gives:document.limit.depthanddocument.limit.nodesat$,document.limit.int-digitsat the Document path of the integer, counting the digits of the value whatever the literal's radix or underscores (D-28). - readWithLimits(String, Schema, WriteReport, Limits) - Static method in class dev.omnist.codec.XmlCodec
-
Parses XML text as
XmlCodec.read(String, Schema, WriteReport)does, refusing input larger thanLimits.maxInputBytes()bytes (D-23) and honouring the depth, node-count and integer-digit bounds oflimits(D-9, E-4a):document.limit.depthanddocument.limit.nodesat$; the digit bound applies to an integer pretyped fromschema, at the Document path of the leaf. - reason() - Method in record class dev.omnist.algebra.AnyFallback
-
Returns the value of the
reasonrecord 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, validating its components.
- 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
recordsrecord component. - Ref(String) - Constructor for record class dev.omnist.schema.Type.Ref
-
Creates an instance, validating its components.
- refereeSelfTestCount() - Static method in class dev.omnist.conformance.Track1Runner
-
How many of the fixtures counted by the last
Track1Runner.runTrack1(java.nio.file.Path, java.nio.file.Path)were the_referee-self-test/*cases (omnist-j#110): the other ports do not fold these into their Track 1 headline, so the per-port-comparable figure is the tally minus this. - refereeSelfTestPassCount() - Static method in class dev.omnist.conformance.Track1Runner
-
How many
_referee-self-test/*fixtures passed in the lastTrack1Runner.runTrack1(java.nio.file.Path, java.nio.file.Path). - refusal(Document) - Static method in class dev.omnist.codec.Encodability
-
The C-9 refusal for a document that holds a string value or an edge label with no UTF-8 encoding: a
WriteExceptionwhose report has onewrite.unsupported-valueerror at the Document path of the first offending node. - refusal(String, int) - Static method in class dev.omnist.document.InputSize
-
The refusal for text over the maximum.
- 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
rootrecord 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
fixturesDiragainst the CLI jar built fromrepoDirand returns the tally. - runTrack2(Path) - Static method in class dev.omnist.conformance.Track2Runner
-
Runs every JSON vector under
testSuiteDirand 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, validating its components.
- 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
schemarecord 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, validating its components.
- SchemaAlgebra - Class in dev.omnist.algebra
-
Normative Schema Algebra operations (§6 of 06-schema-algebra.md).
- SchemaException - Exception Class in dev.omnist.schema
-
Thrown when a programmatically built schema violates a well-formedness rule of omnist-spec section 3.3 that is enforced at construction.
- SchemaException(String, String, String) - Constructor for exception class dev.omnist.schema.SchemaException
-
Constructs a schema well-formedness exception.
- 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
severityrecord component. - severity() - Method in record class dev.omnist.codec.WriteAdjustment
-
Returns the value of the
severityrecord component. - skipReasons() - Static method in class dev.omnist.conformance.Track2Runner
-
Returns a copy of the skip tally by reason, for the harness summary.
- 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, validating its components.
- strip(String, Supplier<? extends RuntimeException>) - Static method in class dev.omnist.document.Bom
-
Strips exactly one leading byte-order mark and rejects a second (D-15, D-21).
T
- target() - Method in record class dev.omnist.document.Edge
-
Returns the value of the
targetrecord 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
textrecord component. - text() - Method in record class dev.omnist.schema.OsdLexer.Token
-
Returns the value of the
textrecord component. - time() - Method in record class dev.omnist.document.TimeValue
-
Returns the value of the
timerecord 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
TimeValueas 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, validating its components.
- 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, validating its components.
- Token(OmlLexer.TokenType, String, Object, int, int) - Constructor for record class dev.omnist.oml.OmlLexer.Token
-
Creates an instance of a
Tokenrecord class. - Token(OsdLexer.TokenType, String, int, int) - Constructor for record class dev.omnist.schema.OsdLexer.Token
-
Creates an instance of a
Tokenrecord class. - tokenizeAll() - Method in class dev.omnist.oml.OmlLexer
-
Tokenizes the entire source, returning a list ending with a single
OmlLexer.TokenType.EOFtoken. - tokenizeAll() - Method in class dev.omnist.schema.OsdLexer
-
Tokenizes the entire source, returning a list ending with a single
OsdLexer.TokenType.EOFtoken. - TomlCodec - Class in dev.omnist.codec
-
Codec for reading and writing the Omnist Document model as TOML (omnist-spec §7.3), built on the
tomljparser. - 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.codec.YamlLimits
-
Returns a string representation of this record class.
- 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
omnistCLI 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
typerecord component. - type() - Method in record class dev.omnist.schema.Field
-
Returns the value of the
typerecord component. - type() - Method in record class dev.omnist.schema.OsdLexer.Token
-
Returns the value of the
typerecord 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
anytype. - Type.Any - Record Class in dev.omnist.schema
-
The open
anytype: 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.
U
- utf8Length(CharSequence) - Static method in class dev.omnist.document.InputSize
-
The length of
textin UTF-8 bytes, counted without allocating an encoded copy.
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
ValidationDiagnosticrecord class. - ValidationException - Exception Class in dev.omnist.validation
- 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
ValidationResultrecord 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
valuerecord component. - value() - Method in record class dev.omnist.document.Scalar.DateScalar
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.omnist.document.Scalar.DateTimeScalar
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.omnist.document.Scalar.IntegerScalar
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.omnist.document.Scalar.NumberScalar
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.omnist.document.Scalar.StringScalar
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.omnist.document.Scalar.TimeScalar
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.omnist.oml.OmlLexer.Token
-
Returns the value of the
valuerecord 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
- withMaxInputBytes(int) - Method in record class dev.omnist.document.Limits
-
Returns these limits with another input-size maximum.
- write(Document) - Static method in class dev.omnist.codec.JsonCodec
-
Serializes a
Documentto compact JSON with no indentation. - write(Document) - Static method in class dev.omnist.codec.TomlCodec
-
Serializes a
Documentto TOML text, non-strict (dropping unrepresentable leaves rather than throwing). - write(Document) - Static method in class dev.omnist.codec.XmlCodec
-
Serializes a
Documentto XML text, non-strict (dropping/sanitizing unrepresentable content rather than throwing). - write(Document) - Static method in class dev.omnist.codec.YamlCodec
-
Serializes a
Documentto YAML text, non-strict (applying adjustments rather than throwing). - write(Document) - Static method in class dev.omnist.oml.OmlWriter
-
Serializes a
Documentto canonical indented OML text (omnist-spec §4 and §9.5). - write(Document, boolean, WriteReport) - Static method in class dev.omnist.codec.TomlCodec
-
Serializes a
Documentto TOML text. - write(Document, boolean, WriteReport) - Static method in class dev.omnist.codec.XmlCodec
-
Serializes a
Documentto XML text. - write(Document, boolean, WriteReport) - Static method in class dev.omnist.codec.YamlCodec
-
Serializes a
Documentto YAML text. - write(Document, WriteReport) - Static method in class dev.omnist.oml.OmlWriter
-
Like
OmlWriter.write(Document), and records inreportevery value the OML grammar cannot hold exactly: a time or datetime whose fraction needs more than six digits (the grammar is1*6DIGIT) is written as a quoted string holding every digit, with aformat.temporal-stringifiedadjustment (E-37: a value is never altered). - write(Document, Integer, boolean, WriteReport) - Static method in class dev.omnist.codec.JsonCodec
-
Serializes a
Documentto JSON, optionally indented and in strict mode. - write(Schema) - Static method in class dev.omnist.schema.OsdWriter
-
Serializes a
Schemato 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'sformat.*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
WriteAdjustmentrecord class. - writeCompact(Document) - Static method in class dev.omnist.oml.OmlWriter
-
Serializes a
Documentto compact inline OML text. - writeCompact(Document, WriteReport) - Static method in class dev.omnist.oml.OmlWriter
-
Like
OmlWriter.writeCompact(Document), recording the temporal adjustments inreportasOmlWriter.write(Document, WriteReport)does. - writeCompact(Schema) - Static method in class dev.omnist.schema.OsdWriter
-
Serializes a
Schemato compact single-line OSD text. - WriteException - Exception Class in dev.omnist.codec
-
Thrown by a codec's
write/checkpath 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
-
Creates an empty report.
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.
- YamlLimits - Record Class in dev.omnist.codec
-
The two YAML alias limits of omnist-spec section 2.4.1: the maximum alias expansion factor (D-18) and the maximum expanded size (D-22).
- YamlLimits(int, long) - Constructor for record class dev.omnist.codec.YamlLimits
-
Creates an instance, validating its components.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
schemaparameter is ignored for JSON. UseJsonCodec.read(String)followed byMaterializer.materialize(Document, Schema)if schema-driven coercion is required.