Uses of Class
org.opentrafficsim.editor.Schema
Packages that use Schema
Package
Description
The OTS editor allows visual editing for a simulation in OTS.
Validators validate either a node value or attribute value.
-
Uses of Schema in org.opentrafficsim.editor
Methods in org.opentrafficsim.editor with parameters of type SchemaModifier and TypeMethodDescription(package private) static voidXsdTreeNodeUtil.addChildren(Node node, XsdTreeNode parentNode, List<XsdTreeNode> children, org.djutils.immutablecollections.ImmutableList<Node> hiddenNodes, Schema schema, boolean flattenSequence, int skip) Main expansion algorithm.XsdTreeNodeUtil.getRelevantNodesWithChildren(Node node, org.djutils.immutablecollections.ImmutableList<Node> hiddenNodes, Schema schema) Returns from the XSD definition the appropriate nodes to take children from at the level of the input node, in the order in which they should appear.(package private) static NodeReturns the element referred to by ref={ref} in an xsd:element.(package private) static NodeReturns the element referred to by type={type} in an xsd:element.Constructors in org.opentrafficsim.editor with parameters of type SchemaModifierConstructorDescriptionprotectedXsdTreeNode(Schema schema) Constructor for root node, based on anXsdSchema.XsdTreeNodeRoot(Schema schema) Constructor for root node, based on a schema. -
Uses of Schema in org.opentrafficsim.editor.decoration.validation
Methods in org.opentrafficsim.editor.decoration.validation with parameters of type SchemaModifier and TypeMethodDescriptionstatic StringValueValidator.getBaseType(Node xsdNode, Schema schema) Returns the base type of the given node, e.g. xsd:double.ValueValidator.getRestrictions(Node xsdNode, Schema schema) Returns all restrictions for the given node.static StringValueValidator.reportInvalidAttributeValue(Node xsdNode, String value, Schema schema) Report first encountered problem in validating the attribute value.static StringValueValidator.reportInvalidValue(Node xsdNode, String value, Schema schema) Report first encountered problem in validating the value of the node.