public interface ComponentWithValueConstraint
Modifier and Type | Method and Description |
---|---|
default AtomicSequence |
getDefaultValue()
Gets the default value, as a typed value.
|
default ValueConstraint |
getDefaultValueConstraint() |
default java.lang.String |
getDefaultValueLexicalForm()
Returns the lexical form of the default value of this component
|
default AtomicSequence |
getFixedValue()
Returns the fixed value of this component.
|
default ValueConstraint |
getFixedValueConstraint() |
default java.lang.String |
getFixedValueLexicalForm()
Returns the lexical form of the fixed value of this attribute use.
|
NamespaceResolver |
getNamespaceResolver()
Get the namespace resolver used when the fixed or value constraints include lexical QNames
|
ValueConstraint |
getValueConstraint() |
default Sequence<?> |
getValueConstraintAsFunction(ComponentWithValueConstraint att)
For use with the saxon:schema extension function, return the value constraint in the form
of a function
|
void |
setValueConstraint(ValueConstraint vc) |
ValueConstraint getValueConstraint()
void setValueConstraint(ValueConstraint vc)
default ValueConstraint getFixedValueConstraint()
default ValueConstraint getDefaultValueConstraint()
default Sequence<?> getValueConstraintAsFunction(ComponentWithValueConstraint att)
att
- the component having the value constraintdefault java.lang.String getFixedValueLexicalForm()
default AtomicSequence getFixedValue()
default java.lang.String getDefaultValueLexicalForm()
default AtomicSequence getDefaultValue()
NamespaceResolver getNamespaceResolver()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.