Uses of Class
com.sun.msv.grammar.Expression
Packages that use Expression
Package
Description
abstract grammar model(AGM): common part.
abstract grammar model(AGM): RELAX stub.
abstract grammar model (AGM): TREX extension
and TREX stub.
Abstract grammar model (AGM): TREX label-annotated stub.
Miscellaneous utility classes.
W3C XML Schema grammar model.
reads XML representation of grammar and creates AGM.
interface of Datatype vocabulary reader.
reads DTD and constructs AGM.
common parts for parseing RELAX Core/Namespace into AGM.
parses RELAX Core into AGM.
shared code between RELAX NG reader and TREX reader.
parses TREX pattern into AGM.
parses RELAX NG into AGM.
parses RELAX NG with DTD compatibility annotation into AGM.
reads TREX grammar with "label
annotation".
parses XML representation of XML Schema into AGM.
abstract grammar model(AGM) for RELAX Namespace.
abstract grammar model(AGM) for RELAXNS-extended RELAX Core.
parses XML representation of RELAX Namespace.
parses XML representation of RELAXNS-extended RELAX Core.
"divide&validate" framework implementation.
VGM implementation by using regular expression derivation algorithm.
RegExp VGM implementation that supports special semantics of XML Schema
AGM to RELAX NG converter
-
Uses of Expression in com.sun.msv.generator
Methods in com.sun.msv.generator that return ExpressionModifier and TypeMethodDescriptionprivate Expression
Driver.findElement
(Expression exp, StringPair name) NoneTypeRemover.onAttribute
(AttributeExp exp) SchemaLocationRemover.onAttribute
(AttributeExp exp) NoneTypeRemover.onElement
(ElementExp exp) SchemaLocationRemover.onElement
(ElementExp exp) NoneTypeRemover.onRef
(ReferenceExp exp) SchemaLocationRemover.onRef
(ReferenceExp exp) Methods in com.sun.msv.generator with parameters of type ExpressionModifier and TypeMethodDescriptionstatic Set[]
ElementDeclCollector.collect
(Expression exp) collects all element and attribute declarations.private Expression
Driver.findElement
(Expression exp, StringPair name) static void
Generator.generate
(Expression exp, Document emptyDoc) generates instance by using default settings.static void
Generator.generate
(Expression exp, Document emptyDoc, GeneratorOption opts) generates instance by custom settings.Constructors in com.sun.msv.generator with parameters of type ExpressionModifierConstructorDescriptionprotected
Generator
(Expression exp, Document emptyDoc, GeneratorOption opts) -
Uses of Expression in com.sun.msv.grammar
Subclasses of Expression in com.sun.msv.grammarModifier and TypeClassDescriptionclass
Attribute declaration.class
Base implementation for those expression which has two child expressions.final class
A|B.final class
<concur> pattern of TREX.final class
Expression that matchs characters of the particularDatatype
.class
Element declaration.private static class
private static class
private static class
final class
<interleave> pattern of TREX, or <all> particle of XML Schema.final class
<list> of RELAX NG.final class
<mixed> of RELAX.final class
A+.class
Base class for application-specific AGM annotation.class
Reference to the other expression.final class
A,B.class
Base implementation for those expression who has one child expresison.final class
Expression that matchs a particular value of aDatatype
.Fields in com.sun.msv.grammar declared as ExpressionModifier and TypeFieldDescriptionstatic final Expression
Expression.anyString
special expression object that represents "any string".ElementExp.contentModel
content model of this element declaration.static final Expression
Expression.epsilon
Special expression object that represents epsilon (ε).final Expression
DataExp.except
'except' clause of RELAX NG.final Expression
AttributeExp.exp
child expressionOtherExp.exp
child expression.ReferenceExp.exp
child expression.final Expression
UnaryExp.exp
child expression.final Expression
BinaryExp.exp1
final Expression
BinaryExp.exp2
private Expression
Expression.expandedExp
Cached value of the expression after ReferenceExps are removed.static final Expression
Expression.nullSet
special expression object that represents the empty set (Φ).private Expression[]
ExpressionPool.ClosedHash.table
The hash table data.Methods in com.sun.msv.grammar that return ExpressionModifier and TypeMethodDescriptionfinal Expression
ExpressionPool.createAnyString()
final Expression
ExpressionPool.createAttribute
(NameClass nameClass) final Expression
ExpressionPool.createAttribute
(NameClass nameClass, Expression content) final Expression
ExpressionPool.createChoice
(Expression left, Expression right) final Expression
ExpressionPool.createConcur
(Expression left, Expression right) final Expression
ExpressionPool.createData
(XSDatatype dt) final Expression
ExpressionPool.createData
(org.relaxng.datatype.Datatype dt, StringPair typeName) final Expression
ExpressionPool.createData
(org.relaxng.datatype.Datatype dt, StringPair typeName, Expression except) final Expression
ExpressionPool.createEpsilon()
final Expression
ExpressionPool.createInterleave
(Expression left, Expression right) final Expression
ExpressionPool.createList
(Expression exp) final Expression
ExpressionPool.createMixed
(Expression body) final Expression
ExpressionPool.createNullSet()
final Expression
ExpressionPool.createOneOrMore
(Expression child) final Expression
ExpressionPool.createOptional
(Expression child) final Expression
ExpressionPool.createSequence
(Expression left, Expression right) final Expression
ExpressionPool.createValue
(XSDatatype dt, Object value) final Expression
ExpressionPool.createValue
(org.relaxng.datatype.Datatype dt, StringPair typeName, Object value) final Expression
ExpressionPool.createZeroOrMore
(Expression child) ExpressionPool.ClosedHash.get
(int hash, Expression child, Class type) ExpressionPool.ClosedHash.get
(Expression key) private Expression
ExpressionPool.ClosedHash.getBinExp
(int hash, Expression left, Expression right, Class type) ExpressionPool.ClosedHash.getBinExp
(Expression left, Expression right, Class type) BinaryExp.getChildren()
returns all child expressions in one array.final Expression
AttributeExp.getContentModel()
final Expression
ElementExp.getContentModel()
NameClassAndExpression.getContentModel()
Expression.getExpandedExp
(ExpressionPool pool) Gets the expression after removing all ReferenceExps, until child AttributeExp or ElementExp.Grammar.getTopLevel()
gets top-level expression.ExpressionCloner.onAnyString()
ExpressionVisitorExpression.onAnyString()
ExpressionVisitorExpression.onAttribute
(AttributeExp exp) ExpressionVisitorExpression.onElement
(ElementExp exp) ExpressionCloner.onEpsilon()
ExpressionVisitorExpression.onEpsilon()
ExpressionCloner.onInterleave
(InterleaveExp exp) ExpressionVisitorExpression.onInterleave
(InterleaveExp p) ExpressionCloner.onNullSet()
ExpressionVisitorExpression.onNullSet()
ExpressionCloner.onOneOrMore
(OneOrMoreExp exp) ExpressionVisitorExpression.onOneOrMore
(OneOrMoreExp exp) ExpressionVisitorExpression.onRef
(ReferenceExp exp) ExpressionCloner.onSequence
(SequenceExp exp) ExpressionVisitorExpression.onSequence
(SequenceExp exp) final Expression
Expression.peelOccurence()
Peels the occurence expressions from this expression.protected final Expression
ExpressionPool.unify
(Expression exp) unifies expressions.AttributeExp.visit
(ExpressionVisitorExpression visitor) ChoiceExp.visit
(ExpressionVisitorExpression visitor) ConcurExp.visit
(ExpressionVisitorExpression visitor) DataExp.visit
(ExpressionVisitorExpression visitor) final Expression
ElementExp.visit
(ExpressionVisitorExpression visitor) Expression.AnyStringExpression.visit
(ExpressionVisitorExpression visitor) Expression.EpsilonExpression.visit
(ExpressionVisitorExpression visitor) Expression.NullSetExpression.visit
(ExpressionVisitorExpression visitor) abstract Expression
Expression.visit
(ExpressionVisitorExpression visitor) Expression.visit
(RELAXExpressionVisitorExpression visitor) InterleaveExp.visit
(ExpressionVisitorExpression visitor) ListExp.visit
(ExpressionVisitorExpression visitor) MixedExp.visit
(ExpressionVisitorExpression visitor) OneOrMoreExp.visit
(ExpressionVisitorExpression visitor) final Expression
OtherExp.visit
(ExpressionVisitorExpression visitor) final Expression
ReferenceExp.visit
(ExpressionVisitorExpression visitor) SequenceExp.visit
(ExpressionVisitorExpression visitor) ValueExp.visit
(ExpressionVisitorExpression visitor) Methods in com.sun.msv.grammar with parameters of type ExpressionModifier and TypeMethodDescriptionfinal Expression
ExpressionPool.createAttribute
(NameClass nameClass, Expression content) final Expression
ExpressionPool.createChoice
(Expression left, Expression right) final Expression
ExpressionPool.createConcur
(Expression left, Expression right) final Expression
ExpressionPool.createData
(org.relaxng.datatype.Datatype dt, StringPair typeName, Expression except) final Expression
ExpressionPool.createInterleave
(Expression left, Expression right) final Expression
ExpressionPool.createList
(Expression exp) final Expression
ExpressionPool.createMixed
(Expression body) final Expression
ExpressionPool.createOneOrMore
(Expression child) final Expression
ExpressionPool.createOptional
(Expression child) final Expression
ExpressionPool.createSequence
(Expression left, Expression right) final Expression
ExpressionPool.createZeroOrMore
(Expression child) ExpressionPool.ClosedHash.get
(int hash, Expression child, Class type) ExpressionPool.ClosedHash.get
(Expression key) private Expression
ExpressionPool.ClosedHash.getBinExp
(int hash, Expression left, Expression right, Class type) ExpressionPool.ClosedHash.getBinExp
(Expression left, Expression right, Class type) void
ExpressionPool.ClosedHash.put
(Expression newExp) put method.protected final Expression
ExpressionPool.unify
(Expression exp) unifies expressions.Constructors in com.sun.msv.grammar with parameters of type ExpressionModifierConstructorDescriptionAttributeExp
(NameClass nameClass, Expression exp) BinaryExp
(Expression left, Expression right) (package private)
ChoiceExp
(Expression left, Expression right) (package private)
ConcurExp
(Expression left, Expression right) protected
DataExp
(org.relaxng.datatype.Datatype dt, StringPair typeName, Expression except) ElementExp
(Expression contentModel, boolean ignoreUndeclaredAttributes) (package private)
InterleaveExp
(Expression left, Expression right) (package private)
ListExp
(Expression exp) (package private)
MixedExp
(Expression exp) (package private)
OneOrMoreExp
(Expression exp) OtherExp
(Expression exp) ReferenceExp
(String name, Expression exp) (package private)
SequenceExp
(Expression left, Expression right) protected
UnaryExp
(Expression exp) -
Uses of Expression in com.sun.msv.grammar.relax
Subclasses of Expression in com.sun.msv.grammar.relaxModifier and TypeClassDescriptionclass
'attPool' of RELAX module.class
ElementRule declaration of RELAX.class
Set of ElementRule objects that share the label name.class
hedgeRule of RELAX module.class
'tag' of RELAX module.Fields in com.sun.msv.grammar.relax declared as ExpressionModifier and TypeFieldDescriptionfinal Expression
ElementRule.attributeFreeContentModel
Attribute-free content modelRELAXModule.topLevel
chioce of all exported elementRules and hedgeRules.Methods in com.sun.msv.grammar.relax that return ExpressionModifier and TypeMethodDescriptionRELAXModule.getTopLevel()
RELAXExpressionVisitorExpression.onAttPool
(AttPoolClause exp) RELAXExpressionVisitorExpression.onElementRules
(ElementRules exp) RELAXExpressionVisitorExpression.onHedgeRules
(HedgeRules exp) AttPoolClause.visit
(RELAXExpressionVisitorExpression visitor) ElementRules.visit
(RELAXExpressionVisitorExpression visitor) HedgeRules.visit
(RELAXExpressionVisitorExpression visitor) TagClause.visit
(RELAXExpressionVisitorExpression visitor) Methods in com.sun.msv.grammar.relax with parameters of type ExpressionConstructors in com.sun.msv.grammar.relax with parameters of type ExpressionModifierConstructorDescriptionElementRule
(ExpressionPool pool, TagClause clause, Expression contentModel) -
Uses of Expression in com.sun.msv.grammar.relaxng
Subclasses of Expression in com.sun.msv.grammar.relaxngModifier and TypeClassDescriptionclass
Grammar for RELAX NG (with DTD compatibility annotation). -
Uses of Expression in com.sun.msv.grammar.trex
Subclasses of Expression in com.sun.msv.grammar.trexModifier and TypeClassDescriptionclass
<element> pattern of TREX.class
TREX grammar, which is expressed as <grammar> element.Methods in com.sun.msv.grammar.trex that return ExpressionConstructors in com.sun.msv.grammar.trex with parameters of type Expression -
Uses of Expression in com.sun.msv.grammar.trex.typed
Subclasses of Expression in com.sun.msv.grammar.trex.typedConstructors in com.sun.msv.grammar.trex.typed with parameters of type ExpressionModifierConstructorDescriptionTypedElementPattern
(NameClass nameClass, Expression contentModel, String label) -
Uses of Expression in com.sun.msv.grammar.util
Methods in com.sun.msv.grammar.util that return ExpressionModifier and TypeMethodDescriptionRefExpRemover.onAttribute
(AttributeExp exp) RefExpRemover.onElement
(ElementExp exp) RefExpRemover.onRef
(ReferenceExp exp) Methods in com.sun.msv.grammar.util with parameters of type ExpressionModifier and TypeMethodDescriptionprotected static boolean
ExpressionPrinter.isComplex
(Expression exp) determines whether brackets should be used to represent the patternprivate Object
ExpressionPrinter.optional
(Expression exp) static String
ExpressionPrinter.printContentModel
(Expression exp) static String
ExpressionPrinter.printFragment
(Expression exp) static String
ExpressionPrinter.printSmallest
(Expression exp) -
Uses of Expression in com.sun.msv.grammar.xmlschema
Subclasses of Expression in com.sun.msv.grammar.xmlschemaModifier and TypeClassDescriptionclass
global attribute declaration.class
attribute group declaration.class
ComplexType definition.class
Element declaration.class
XML Schema version ofElementExp
.class
model group declaration.class
Used to mark a occurrence constraint which cannot be easily represented by primitive expressions.class
declaration that can be redefined by using <redefine> element.class
Simple type declaration.class
ElementExp that is used for <any processContents="skip"/>.class
Base class ofComplexTypeExp
andSimpleTypeExp
.Fields in com.sun.msv.grammar.xmlschema declared as ExpressionModifier and TypeFieldDescriptionfinal Expression
OccurrenceExp.itemExp
The unit of repetition.XMLSchemaGrammar.topLevel
XMLSchemaSchema.topLevel
choice of all global element declarations.Methods in com.sun.msv.grammar.xmlschema that return ExpressionModifier and TypeMethodDescriptionAttributeWildcard.createExpression
(XMLSchemaGrammar grammar) Creates the expression that corresponds to the current attribute wildcard specification.ElementDeclExp.getContentModel()
gets the pattern that represents the content model of this element declaration.final Expression
XMLSchemaGrammar.getTopLevel()
Constructors in com.sun.msv.grammar.xmlschema with parameters of type ExpressionModifierConstructorDescriptionOccurrenceExp
(Expression preciseExp, int maxOccurs, int minOccurs, Expression itemExp) SkipElementExp
(NameClass nameClass, Expression contentModel) XSElementExp
(SimpleNameClass elementName, Expression contentModel) -
Uses of Expression in com.sun.msv.reader
Fields in com.sun.msv.reader declared as ExpressionModifier and TypeFieldDescriptionprotected Expression
ExpressionWithChildState.exp
expression object that is being created.private final Expression
TerminalState.exp
Methods in com.sun.msv.reader that return ExpressionModifier and TypeMethodDescriptionprotected Expression
ExpressionWithChildState.annealExpression
(Expression exp) performs final wrap-up and returns a fully created Expression object that represents this element.protected final Expression
State.callInterceptExpression
(Expression exp) protected Expression
ChoiceState.castExpression
(Expression exp, Expression child) protected abstract Expression
ExpressionWithChildState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) combines half-made expression and newly found child expression into the expression.protected Expression
InterleaveState.castExpression
(Expression exp, Expression child) protected Expression
SequenceState.castExpression
(Expression exp, Expression child) protected Expression
ExpressionWithChildState.defaultExpression()
computes default expression.protected Expression
ChoiceState.initialExpression()
protected Expression
ExpressionWithChildState.initialExpression()
sets initial patternprotected Expression
SequenceState.initialExpression()
protected Expression
GrammarReader.interceptExpression
(State state, Expression exp) intercepts an expression made by ExpressionState before it is passed to the parent state.protected abstract Expression
ExpressionState.makeExpression()
This method is called from endElement method.protected final Expression
ExpressionWithChildState.makeExpression()
protected Expression
TerminalState.makeExpression()
Methods in com.sun.msv.reader with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Expression
ExpressionWithChildState.annealExpression
(Expression exp) performs final wrap-up and returns a fully created Expression object that represents this element.protected final Expression
State.callInterceptExpression
(Expression exp) protected Expression
ChoiceState.castExpression
(Expression exp, Expression child) protected abstract Expression
ExpressionWithChildState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) combines half-made expression and newly found child expression into the expression.protected Expression
InterleaveState.castExpression
(Expression exp, Expression child) protected Expression
SequenceState.castExpression
(Expression exp, Expression child) private void
RunAwayExpressionChecker.check
(Expression exp) static void
RunAwayExpressionChecker.check
(GrammarReader reader, Expression exp) private void
RunAwayExpressionChecker.enter
(Expression exp) protected Expression
GrammarReader.interceptExpression
(State state, Expression exp) intercepts an expression made by ExpressionState before it is passed to the parent state.void
ExpressionOwner.onEndChild
(Expression exp) final void
ExpressionWithChildState.onEndChild
(Expression childExpression) receives a Pattern object that is contained in this element.Constructors in com.sun.msv.reader with parameters of type Expression -
Uses of Expression in com.sun.msv.reader.datatype
Methods in com.sun.msv.reader.datatype with parameters of type ExpressionModifier and TypeMethodDescriptionvoid
TypeOwner.onEndChildType
(Expression datatype, String typeName) -
Uses of Expression in com.sun.msv.reader.datatype.xsd
Subclasses of Expression in com.sun.msv.reader.datatype.xsdModifier and TypeClassDescriptionclass
A wrapper of XSDatatype that serves as an expression and encapsulates lazy-constructed datatypes. -
Uses of Expression in com.sun.msv.reader.dtd
Fields in com.sun.msv.reader.dtd declared as ExpressionModifier and TypeFieldDescriptionprotected Expression
DTDReader.contentModel
(package private) final Expression
DTDReader.Context.exp
(package private) Expression
DTDReader.AttModel.value
Methods in com.sun.msv.reader.dtd that return ExpressionModifier and TypeMethodDescriptionprotected Expression
DTDReader.createAttributeBody
(String elementName, String attributeName, String attributeType, String[] enums, short attributeUse, String defaultValue) Creates an attribute body from the declaration found in the DTD.protected Expression
DTDReader.createElementDeclarations()
Creates element declarations from the parsed result.protected Expression
DTDReader.processOccurs
(Expression item, short occurence) processes occurence (?,+,*) of the given expressionMethods in com.sun.msv.reader.dtd with parameters of type ExpressionModifier and TypeMethodDescriptionprotected void
DTDReader.combineToContentModel
(Expression exp) protected Expression
DTDReader.processOccurs
(Expression item, short occurence) processes occurence (?,+,*) of the given expressionConstructors in com.sun.msv.reader.dtd with parameters of type ExpressionModifierConstructorDescription(package private)
AttModel
(Expression value, boolean required) (package private)
Context
(DTDReader.Context prev, Expression exp, short connector) -
Uses of Expression in com.sun.msv.reader.relax
Fields in com.sun.msv.reader.relax declared as ExpressionMethods in com.sun.msv.reader.relax that return ExpressionModifier and TypeMethodDescriptionprotected Expression
RELAXReader.interceptExpression
(State state, Expression exp) protected Expression
LabelRefState.makeExpression()
protected final Expression
protected final Expression
protected abstract Expression
gets or creates appropriate referenceprotected abstract Expression
RELAXReader.resolveElementRef
(String namespace, String label) obtains an Expression specified by given (namespace,label) pair.protected abstract Expression
RELAXReader.resolveHedgeRef
(String namespace, String label) obtains an Expression specified by given (namespace,label) pair.Methods in com.sun.msv.reader.relax with parameters of type ExpressionModifier and TypeMethodDescriptionprotected abstract void
HedgeRuleBaseState.endSelf
(Expression contentModel) derived class will receive child expression by this methodprotected Expression
RELAXReader.interceptExpression
(State state, Expression exp) void
HedgeRuleBaseState.onEndChild
(Expression exp) -
Uses of Expression in com.sun.msv.reader.relax.core
Fields in com.sun.msv.reader.relax.core declared as ExpressionModifier and TypeFieldDescriptionprotected Expression
ElementRuleWithHedgeState.contentModel
protected Expression
ClauseState.exp
expression object that is being created.Methods in com.sun.msv.reader.relax.core that return ExpressionModifier and TypeMethodDescriptionprotected Expression
MixedState.annealExpression
(Expression exp) protected Expression
ClauseState.castExpression
(Expression exp, Expression child) protected Expression
MixedState.castExpression
(Expression current, Expression child) private Expression
RELAXCoreReader.choiceOfExported
(ReferenceContainer con) protected abstract Expression
ElementRuleBaseState.getContentModel()
gets content model of this elementRuleprotected Expression
ElementRuleWithHedgeState.getContentModel()
protected Expression
ElementRuleWithTypeState.getContentModel()
protected Expression
ClauseState.initialExpression()
protected Expression
AttPoolRefState.makeExpression()
protected Expression
AttributeState.makeExpression()
protected Expression
InlineElementState.makeExpression()
protected Expression
RELAXCoreReader.resolveAttPoolRef
(String namespace, String role) protected Expression
RELAXCoreReader.resolveElementRef
(String namespace, String label) protected Expression
RELAXCoreReader.resolveHedgeRef
(String namespace, String label) Methods in com.sun.msv.reader.relax.core with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Expression
MixedState.annealExpression
(Expression exp) protected Expression
ClauseState.castExpression
(Expression exp, Expression child) protected Expression
MixedState.castExpression
(Expression current, Expression child) protected void
HedgeRuleState.endSelf
(Expression contentModel) final void
ClauseState.onEndChild
(Expression childExpression) receives a Pattern object that is contained in this element.void
DivInModuleState.onEndChild
(Expression exp) void
ElementRuleWithHedgeState.onEndChild
(Expression exp) -
Uses of Expression in com.sun.msv.reader.trex
Fields in com.sun.msv.reader.trex declared as ExpressionModifier and TypeFieldDescriptionprotected Expression
DefineState.exp
expression object that is being created.protected Expression
IncludePatternState.included
Methods in com.sun.msv.reader.trex that return ExpressionModifier and TypeMethodDescriptionprotected Expression
AttributeState.annealExpression
(Expression contentModel) protected Expression
ElementState.annealExpression
(Expression contentModel) protected Expression
MixedState.annealExpression
(Expression exp) protected Expression
OneOrMoreState.annealExpression
(Expression exp) protected Expression
OptionalState.annealExpression
(Expression exp) protected Expression
StartState.annealExpression
(Expression exp) protected Expression
ZeroOrMoreState.annealExpression
(Expression exp) protected Expression
AttributeState.castExpression
(Expression initialExpression, Expression newChild) protected abstract Expression
DefineState.doCombine
(ReferenceExp baseExp, Expression newExp, String combine) combines two expressions into one as specified by the combine parameter, and returns a new expression.protected Expression
AttributeState.initialExpression()
protected Expression
DivInGrammarState.makeExpression()
protected Expression
GrammarState.makeExpression()
protected Expression
IncludePatternState.makeExpression()
protected Expression
RefState.makeExpression()
Methods in com.sun.msv.reader.trex with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Expression
AttributeState.annealExpression
(Expression contentModel) protected Expression
ElementState.annealExpression
(Expression contentModel) protected Expression
MixedState.annealExpression
(Expression exp) protected Expression
OneOrMoreState.annealExpression
(Expression exp) protected Expression
OptionalState.annealExpression
(Expression exp) protected Expression
StartState.annealExpression
(Expression exp) protected Expression
ZeroOrMoreState.annealExpression
(Expression exp) protected Expression
AttributeState.castExpression
(Expression initialExpression, Expression newChild) protected abstract Expression
DefineState.doCombine
(ReferenceExp baseExp, Expression newExp, String combine) combines two expressions into one as specified by the combine parameter, and returns a new expression.final void
DefineState.onEndChild
(Expression child) receives a Pattern object that is contained in this element.void
DivInGrammarState.onEndChild
(Expression exp) void
IncludePatternState.onEndChild
(Expression included) void
RootIncludedPatternState.onEndChild
(Expression exp) void
RootMergedGrammarState.onEndChild
(Expression exp) void
RootState.onEndChild
(Expression exp) -
Uses of Expression in com.sun.msv.reader.trex.classic
Methods in com.sun.msv.reader.trex.classic that return ExpressionModifier and TypeMethodDescriptionprotected Expression
ConcurState.castExpression
(Expression exp, Expression child) protected Expression
DefineState.doCombine
(ReferenceExp baseExp, Expression newExp, String combine) combines two expressions into one as specified by the combine parameter, and returns a new expression.protected Expression
DataState.makeExpression()
protected Expression
StringState.makeExpression()
Methods in com.sun.msv.reader.trex.classic with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Expression
ConcurState.castExpression
(Expression exp, Expression child) protected Expression
DefineState.doCombine
(ReferenceExp baseExp, Expression newExp, String combine) combines two expressions into one as specified by the combine parameter, and returns a new expression. -
Uses of Expression in com.sun.msv.reader.trex.ng
Fields in com.sun.msv.reader.trex.ng declared as ExpressionModifier and TypeFieldDescriptionprivate Expression
RestrictionChecker.errorContext
The source location of this expression should be also reported in case of error.protected Expression
DataState.except
the 'except' clause.Methods in com.sun.msv.reader.trex.ng that return ExpressionModifier and TypeMethodDescriptionprotected Expression
ListState.annealExpression
(Expression exp) protected Expression
DefineState.doCombine
(ReferenceExp baseExp, Expression newExp, String combine) combines two expressions into one as specified by the combine parameter, and returns a new expression.protected Expression
DataState.makeExpression()
protected Expression
ValueState.makeExpression()
Methods in com.sun.msv.reader.trex.ng with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Expression
ListState.annealExpression
(Expression exp) protected Expression
DefineState.doCombine
(ReferenceExp baseExp, Expression newExp, String combine) combines two expressions into one as specified by the combine parameter, and returns a new expression.void
DataState.onEndChild
(Expression child) void
IncludeMergeState.onEndChild
(Expression child) private void
RestrictionChecker.reportError
(Expression exp, String errorMsg) private void
RestrictionChecker.reportError
(Expression exp, String errorMsg, Object[] args) -
Uses of Expression in com.sun.msv.reader.trex.ng.comp
Methods in com.sun.msv.reader.trex.ng.comp that return ExpressionModifier and TypeMethodDescriptionprotected Expression
CompAttributeState.annealExpression
(Expression contentModel) Methods in com.sun.msv.reader.trex.ng.comp with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Expression
CompAttributeState.annealExpression
(Expression contentModel) private boolean
DefAttCompatibilityChecker.isEpsilon
(Expression exp) returns true if the exp is equivalent to <empty/> after the simplification. -
Uses of Expression in com.sun.msv.reader.trex.typed
Methods in com.sun.msv.reader.trex.typed that return ExpressionModifier and TypeMethodDescriptionprotected Expression
TypedElementState.annealExpression
(Expression contentModel) Methods in com.sun.msv.reader.trex.typed with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Expression
TypedElementState.annealExpression
(Expression contentModel) -
Uses of Expression in com.sun.msv.reader.xmlschema
Methods in com.sun.msv.reader.xmlschema that return ExpressionModifier and TypeMethodDescriptionprivate Expression
XMLSchemaReader._processOccurs
(Expression item, int minOccurs, int maxOccurs) protected Expression
ElementDeclState.annealDeclaration
(ElementDeclExp exp) This method is called after this class finishes augmenting ElementDeclExp.protected Expression
AttributeGroupState.annealExpression
(Expression contentType) protected Expression
AttributeState.annealExpression
(Expression contentType) protected Expression
ComplexContentBodyState.annealExpression
(Expression exp) protected Expression
ComplexTypeDeclState.annealExpression
(Expression contentType) protected Expression
ElementDeclState.annealExpression
(Expression contentType) protected Expression
GroupState.annealExpression
(Expression contentType) protected Expression
SimpleContentExtensionState.annealExpression
(Expression exp) protected Expression
SimpleContentRestrictionState.annealExpression
(Expression exp) protected Expression
AttributeGroupState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
AttributeState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
ComplexContentState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
ComplexTypeDeclState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
ElementDeclState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
GroupState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
SimpleContentState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
ComplexContentBodyState.combineToBaseType
(ComplexTypeExp baseType, Expression addedExp) combines the base type content model and this content modelprotected Expression
AttributeState.createAttribute
(NameClass nc, Expression exp) Allows the derived class to change it.protected Expression
AnyAttributeState.createExpression
(String namespace, String process) protected Expression
AnyElementState.createExpression
(String namespace, String process) protected abstract Expression
AnyState.createExpression
(String namespace, String process) creates AGM that corresponds to the specified parameters.protected Expression
AttributeState.defaultExpression()
protected Expression
ComplexTypeDeclState.defaultExpression()
protected Expression
ElementDeclState.defaultExpression()
private Expression
SimpleContentExtensionState.getBody()
Gets the expression for the base type.protected Expression
AttributeGroupState.initialExpression()
protected Expression
AttributeState.initialExpression()
protected Expression
ComplexContentBodyState.initialExpression()
protected Expression
ElementDeclState.initialExpression()
protected Expression
GroupState.initialExpression()
protected Expression
SimpleContentExtensionState.initialExpression()
protected Expression
SimpleContentRestrictionState.initialExpression()
protected Expression
XMLSchemaReader.interceptExpression
(State state, Expression exp) protected final Expression
AnyState.makeExpression()
protected Expression
ElementRefState.makeExpression()
XMLSchemaReader.processOccurs
(Expression item, int minOccurs, int maxOccurs) Adds maxOccurs/minOccurs semantics to a given expression.XMLSchemaReader.processOccurs
(StartTagInfo startTag, Expression item) Adds maxOccurs/minOccurs semantics to a given expression.XMLSchemaReader.resolveQNameRef
(StartTagInfo tag, String attName, XMLSchemaReader.RefResolver resolver) protected Expression
ElementDeclState.resolveTypeRef
(String typeQName) If this element declaration has @type, then this method is called to resolve it.Methods in com.sun.msv.reader.xmlschema with parameters of type ExpressionModifier and TypeMethodDescriptionprivate Expression
XMLSchemaReader._processOccurs
(Expression item, int minOccurs, int maxOccurs) protected Expression
AttributeGroupState.annealExpression
(Expression contentType) protected Expression
AttributeState.annealExpression
(Expression contentType) protected Expression
ComplexContentBodyState.annealExpression
(Expression exp) protected Expression
ComplexTypeDeclState.annealExpression
(Expression contentType) protected Expression
ElementDeclState.annealExpression
(Expression contentType) protected Expression
GroupState.annealExpression
(Expression contentType) protected Expression
SimpleContentExtensionState.annealExpression
(Expression exp) protected Expression
SimpleContentRestrictionState.annealExpression
(Expression exp) protected Expression
AttributeGroupState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
AttributeState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
ComplexContentState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
ComplexTypeDeclState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
ElementDeclState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
GroupState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
SimpleContentState.castExpression
(Expression halfCastedExpression, Expression newChildExpression) protected Expression
ComplexContentBodyState.combineToBaseType
(ComplexTypeExp baseType, Expression addedExp) combines the base type content model and this content modelprivate void
AttributeWildcardComputer.compute
(Expression topLevel) static void
AttributeWildcardComputer.compute
(XMLSchemaReader reader, Expression topLevel) protected Expression
AttributeState.createAttribute
(NameClass nc, Expression exp) Allows the derived class to change it.protected Expression
XMLSchemaReader.interceptExpression
(State state, Expression exp) void
GlobalDeclState.onEndChild
(Expression exp) XMLSchemaReader.processOccurs
(Expression item, int minOccurs, int maxOccurs) Adds maxOccurs/minOccurs semantics to a given expression.XMLSchemaReader.processOccurs
(StartTagInfo startTag, Expression item) Adds maxOccurs/minOccurs semantics to a given expression. -
Uses of Expression in com.sun.msv.relaxns.grammar
Subclasses of Expression in com.sun.msv.relaxns.grammarModifier and TypeClassDescriptionclass
place holder for imported attributes declaration.class
place holder for imported element declaration.Fields in com.sun.msv.relaxns.grammar declared as ExpressionModifier and TypeFieldDescriptionfinal Expression
DeclImpl.exp
"meat" of this Rule.RELAXGrammar.topLevel
top-level expressionMethods in com.sun.msv.relaxns.grammar that return ExpressionConstructors in com.sun.msv.relaxns.grammar with parameters of type Expression -
Uses of Expression in com.sun.msv.relaxns.grammar.relax
Subclasses of Expression in com.sun.msv.relaxns.grammar.relaxModifier and TypeClassDescriptionclass
place holder for <anyOtherElement> of RELAX.Methods in com.sun.msv.relaxns.grammar.relax that return ExpressionModifier and TypeMethodDescriptionExportedAttPoolGenerator.create
(RELAXModule module, Expression exp) private Expression
RELAXIslandSchema.createChoiceOfAllExportedRules
(org.iso_relax.dispatcher.SchemaProvider provider) creates a choice expression of all exported rules in the given provider.ExportedAttPoolGenerator.onAttPool
(AttPoolClause exp) ExportedAttPoolGenerator.onAttribute
(AttributeExp exp) ExportedAttPoolGenerator.onElement
(ElementExp exp) ExportedAttPoolGenerator.onElementRules
(ElementRules exp) ExportedAttPoolGenerator.onHedgeRules
(HedgeRules exp) ExportedAttPoolGenerator.onRef
(ReferenceExp exp) Methods in com.sun.msv.relaxns.grammar.relax with parameters of type ExpressionModifier and TypeMethodDescriptionExportedAttPoolGenerator.create
(RELAXModule module, Expression exp) protected void
AnyOtherElementExp.wrapUp
(Grammar owner, Expression pseudoContentModel, org.iso_relax.dispatcher.SchemaProvider provider, ErrorHandler errorHandler) creates pseudo content model and name class. -
Uses of Expression in com.sun.msv.relaxns.reader
Methods in com.sun.msv.relaxns.reader that return ExpressionModifier and TypeMethodDescriptionprotected Expression
RELAXNSReader.resolveElementRef
(String namespace, String label) protected Expression
RELAXNSReader.resolveHedgeRef
(String namespace, String label) private Expression
RELAXNSReader.resolveRef
(String namespace, String label, String tagName) Methods in com.sun.msv.relaxns.reader with parameters of type ExpressionModifier and TypeMethodDescriptionprotected void
TopLevelState.endSelf
(Expression contentModel) final void
RootGrammarState.onEndChild
(Expression exp) -
Uses of Expression in com.sun.msv.relaxns.reader.relax
Methods in com.sun.msv.relaxns.reader.relax that return ExpressionModifier and TypeMethodDescriptionprotected Expression
AnyOtherElementState.makeExpression()
protected Expression
RELAXCoreIslandSchemaReader.resolveAttPoolRef
(String namespace, String label) protected Expression
RELAXCoreIslandSchemaReader.resolveElementRef
(String namespace, String label) protected Expression
RELAXCoreIslandSchemaReader.resolveHedgeRef
(String namespace, String label) -
Uses of Expression in com.sun.msv.relaxns.verifier
Fields in com.sun.msv.relaxns.verifier declared as ExpressionModifier and TypeFieldDescriptionprivate final Expression
SchemaProviderImpl.topLevelExp
top-level expression as AGM.Methods in com.sun.msv.relaxns.verifier that return ExpressionModifier and TypeMethodDescriptionprivate static Expression
RulesAcceptor.createCombined
(ExpressionPool pool, DeclImpl[] rules) helper function for constructorprivate static Expression[]
RulesAcceptor.getContents
(DeclImpl[] rules) helper function for constructorIslandSchemaImpl.Binder.onAttribute
(AttributeExp exp) IslandSchemaImpl.Binder.onElement
(ElementExp exp) IslandSchemaImpl.Binder.onRef
(ReferenceExp exp) Constructors in com.sun.msv.relaxns.verifier with parameters of type ExpressionModifierConstructorDescriptionprivate
RulesAcceptor
(REDocumentDeclaration docDecl, Expression combined, Expression[] contentModels, DeclImpl[] owners) -
Uses of Expression in com.sun.msv.verifier.regexp
Fields in com.sun.msv.verifier.regexp declared as ExpressionModifier and TypeFieldDescription(package private) Expression
OptimizationTag.attributePrunedExpression
AttributePruner.prune(exp)private Expression
CombinedChildContentExpCreator.content
final Expression
CombinedChildContentExpCreator.ExpressionPair.content
protected final Expression[]
ComplexAcceptorBaseImpl.contents
private Expression
CombinedChildContentExpCreator.continuation
final Expression
CombinedChildContentExpCreator.ExpressionPair.continuation
(package private) final Expression
OptimizationTag.OwnerAndCont.continuation
final Expression
SimpleAcceptor.continuation
the expression that should be used by the parent acceptor once if this acceptor is satisfied.private Expression
ExpressionAcceptor.expression
private Expression
AttributeRecoveryToken.failedExp
protected final Expression
REDocumentDeclaration.topLevel
start validation from this expression.Methods in com.sun.msv.verifier.regexp that return ExpressionModifier and TypeMethodDescription(package private) final Expression
ResidualCalculator.calcResidual
(Expression exp, ElementToken token) compute the residualfinal Expression
ResidualCalculator.calcResidual
(Expression exp, Token token) compute the residualprivate static Expression[]
ComplexAcceptor.createDefaultContentModels
(ElementExp[] owners, ExpressionPool pool) final Expression
AttributeFeeder.feed
(Expression exp, AttributeToken token, boolean ignoreUndeclaredAttribute) ExpressionAcceptor.getExpression()
gets the residual content model.(package private) Expression
AttributeRecoveryToken.getFailedExp()
private final Expression
ExpressionAcceptor.mergeContinuation
(Expression exp1, Expression exp2) AttributeFeeder.onAnyString()
AttributePicker.onAnyString()
ResidualCalculator.onAnyString()
AttributeFeeder.onAttribute
(AttributeExp exp) AttributePicker.onAttribute
(AttributeExp exp) AttributePruner.onAttribute
(AttributeExp exp) AttributeRemover.onAttribute
(AttributeExp exp) ContentModelRefExpRemover.Remover.onAttribute
(AttributeExp exp) ResidualCalculator.onAttribute
(AttributeExp exp) AttributeFeeder.onElement
(ElementExp exp) AttributePicker.onElement
(ElementExp exp) AttributePruner.onElement
(ElementExp exp) AttributeRemover.onElement
(ElementExp exp) ContentModelRefExpRemover.Remover.onElement
(ElementExp exp) ResidualCalculator.onElement
(ElementExp exp) AttributeFeeder.onEpsilon()
AttributePicker.onEpsilon()
ResidualCalculator.onEpsilon()
AttributeFeeder.onInterleave
(InterleaveExp exp) AttributePicker.onInterleave
(InterleaveExp exp) ResidualCalculator.onInterleave
(InterleaveExp exp) AttributeFeeder.onNullSet()
AttributePicker.onNullSet()
ResidualCalculator.onNullSet()
AttributeFeeder.onOneOrMore
(OneOrMoreExp exp) AttributePicker.onOneOrMore
(OneOrMoreExp exp) ResidualCalculator.onOneOrMore
(OneOrMoreExp exp) AttributeFeeder.onRef
(ReferenceExp exp) AttributePicker.onRef
(ReferenceExp exp) AttributePruner.onRef
(ReferenceExp exp) AttributeRemover.onRef
(ReferenceExp exp) ContentModelRefExpRemover.Remover.onRef
(ReferenceExp exp) ResidualCalculator.onRef
(ReferenceExp exp) AttributeFeeder.onSequence
(SequenceExp exp) AttributePicker.onSequence
(SequenceExp exp) ResidualCalculator.onSequence
(SequenceExp exp) final Expression
AttributePruner.prune
(Expression exp) Methods in com.sun.msv.verifier.regexp with parameters of type ExpressionModifier and TypeMethodDescriptionstatic int
StringCareLevelCalculator.calc
(Expression exp) (package private) final Expression
ResidualCalculator.calcResidual
(Expression exp, ElementToken token) compute the residualfinal Expression
ResidualCalculator.calcResidual
(Expression exp, Token token) compute the residualfinal void
ElementsOfConcernCollector.collect
(Expression exp, Collection result) CombinedChildContentExpCreator.continueGet
(Expression combinedPattern, StartTagInfo info, boolean checkTagName) protected Acceptor
ContentModelAcceptor.createAcceptor
(Expression combined, Expression continuation, ElementExp[] primitives, int numPrimitives) creates actual Acceptor object from the computed result.protected abstract Acceptor
ExpressionAcceptor.createAcceptor
(Expression contentModel, Expression continuation, ElementExp[] primitives, int numPrimitives) final Expression
AttributeFeeder.feed
(Expression exp, AttributeToken token, boolean ignoreUndeclaredAttribute) CombinedChildContentExpCreator.get
(Expression combinedPattern, StartTagInfo info) computes a combined child content pattern and (,if possible,) its continuation.CombinedChildContentExpCreator.get
(Expression combinedPattern, StartTagInfo info, boolean checkTagName) computes a combined child content pattern and its continuation, with error recovery.private final Expression
ExpressionAcceptor.mergeContinuation
(Expression exp1, Expression exp2) final Expression
AttributePruner.prune
(Expression exp) final boolean
ExpressionAcceptor.stepForwardByContinuation
(Expression continuation, StringRef errRef) Constructors in com.sun.msv.verifier.regexp with parameters of type ExpressionModifierConstructorDescriptionComplexAcceptor
(REDocumentDeclaration docDecl, Expression combined, ElementExp[] primitives) ComplexAcceptor
(REDocumentDeclaration docDecl, Expression combined, Expression[] contentModels, ElementExp[] owners) ComplexAcceptorBaseImpl
(REDocumentDeclaration docDecl, Expression combined, Expression[] contents, boolean ignoreUndeclaredAttributes) protected
ContentModelAcceptor
(REDocumentDeclaration docDecl, Expression exp, boolean ignoreUndeclaredAttributes) ExpressionAcceptor
(REDocumentDeclaration docDecl, Expression exp, boolean ignoreUndeclaredAttributes) ExpressionPair
(Expression content, Expression continuation) OwnerAndCont
(ElementExp owner, Expression cont) REDocumentDeclaration
(Expression topLevel, ExpressionPool pool) creates an object that validates the specified expression.SimpleAcceptor
(REDocumentDeclaration docDecl, Expression combined, ElementExp owner, Expression continuation) -
Uses of Expression in com.sun.msv.verifier.regexp.xmlschema
Methods in com.sun.msv.verifier.regexp.xmlschema with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Acceptor
XSAcceptor.createAcceptor
(Expression combined, Expression continuation, ElementExp[] primitives, int numPrimitives) creates an XSAcceptor instead of default acceptor implementations.Constructors in com.sun.msv.verifier.regexp.xmlschema with parameters of type ExpressionModifierConstructorDescriptionXSAcceptor
(XSREDocDecl docDecl, Expression combined, ElementExp owner, Expression continuation) -
Uses of Expression in com.sun.msv.writer.relaxng
Methods in com.sun.msv.writer.relaxng that return ExpressionModifier and TypeMethodDescriptionRELAXNGWriter.SmartPatternWriter.simplify
(Expression exp) remove unnecessary ReferenceExp from content model.Methods in com.sun.msv.writer.relaxng with parameters of type ExpressionModifier and TypeMethodDescriptionprotected void
PatternWriter.onOptional
(Expression exp) RELAXNGWriter.SmartPatternWriter.simplify
(Expression exp) remove unnecessary ReferenceExp from content model.protected String
RELAXNGWriter.sniffDefaultNs
(Expression exp) sniffs namespace URI that can be used as default 'ns' attribute from expression.void
PatternWriter.visitUnary
(Expression exp) print expression but surpress unnecessary sequence.protected void
RELAXNGWriter.writeIsland
(Expression exp) writes a bunch of expression into one tree.