Package network.ike.plugin.schema
package network.ike.plugin.schema
-
ClassDescriptionWrites a
SchemaSignatureas a ledger section in the KnowledgeSet DSL, a node catalog, the same shape the hand-written sections of a starter set have (IKE-Network/ike-issues#1104): one concept per type with the schema's own documentation as its definition, is-a from the extension base, one concept per argument position, per schema primitive, and per type of another schema the catalog refers to, one concept per enumeration and per enumerated value, and a type-position pattern whose semantics record, on each type, its positions with their value type and cardinality.What the writer needs beyond the signature.The signature an XML Schema declares, read once and held as plain records: the named complex types with their base, their documentation, and their argument positions; and the named simple types that enumerate values (IKE-Network/ike-issues#1104).One named simple type that enumerates its values,DateTimePrecisionwithYearthroughMillisecond.One argument position of a type: a child element or an attribute, with the type of value it holds and how many of them the schema allows.Whether a position holds an element, a child in the document's sequence, or an attribute, a named value on the element itself.One named complex type of the schema.A reference to a type by namespace and name: a type of the signature, a type of another schema the signature refers to, or a primitive of the XML Schema language.Reads XML Schema files into aSchemaSignaturewith the JDK's own XML support and nothing else (IKE-Network/ike-issues#1104).