Package | Description |
---|---|
com.sun.msv.generator | |
com.sun.msv.grammar |
abstract grammar model(AGM): common part.
|
com.sun.msv.grammar.relax |
abstract grammar model(AGM): RELAX stub.
|
com.sun.msv.grammar.relaxng | |
com.sun.msv.grammar.trex |
abstract grammar model (AGM): TREX extension
and TREX stub.
|
com.sun.msv.grammar.trex.typed |
Abstract grammar model (AGM): TREX label-annotated stub.
|
com.sun.msv.grammar.util |
Miscellaneous utility classes.
|
com.sun.msv.grammar.xmlschema |
W3C XML Schema grammar model.
|
com.sun.msv.reader |
reads XML representation of grammar and creates AGM.
|
com.sun.msv.reader.datatype |
interface of Datatype vocabulary reader.
|
com.sun.msv.reader.datatype.xsd | |
com.sun.msv.reader.dtd |
reads DTD and constructs AGM.
|
com.sun.msv.reader.relax |
common parts for parseing RELAX Core/Namespace into AGM.
|
com.sun.msv.reader.relax.core |
parses RELAX Core into AGM.
|
com.sun.msv.reader.trex |
shared code between RELAX NG reader and TREX reader.
|
com.sun.msv.reader.trex.classic |
parses TREX pattern into AGM.
|
com.sun.msv.reader.trex.ng |
parses RELAX NG into AGM.
|
com.sun.msv.reader.trex.ng.comp |
parses RELAX NG with DTD compatibility annotation into AGM.
|
com.sun.msv.reader.trex.typed |
reads TREX grammar with "label
annotation".
|
com.sun.msv.reader.xmlschema |
parses XML representation of XML Schema into AGM.
|
com.sun.msv.relaxns.grammar |
abstract grammar model(AGM) for RELAX Namespace.
|
com.sun.msv.relaxns.grammar.relax |
abstract grammar model(AGM) for RELAXNS-extended RELAX Core.
|
com.sun.msv.relaxns.reader |
parses XML representation of RELAX Namespace.
|
com.sun.msv.relaxns.reader.relax |
parses XML representation of RELAXNS-extended RELAX Core.
|
com.sun.msv.relaxns.verifier |
"divide&validate" framework implementation.
|
com.sun.msv.verifier.regexp |
VGM implementation by using regular expression derivation algorithm.
|
com.sun.msv.verifier.regexp.xmlschema |
RegExp VGM implementation that supports special semantics of XML Schema
|
com.sun.msv.writer.relaxng |
AGM to RELAX NG converter
|
Modifier and Type | Method | Description |
---|---|---|
Expression |
NoneTypeRemover.onAttribute(AttributeExp exp) |
|
Expression |
SchemaLocationRemover.onAttribute(AttributeExp exp) |
|
Expression |
NoneTypeRemover.onData(DataExp exp) |
|
Expression |
NoneTypeRemover.onElement(ElementExp exp) |
|
Expression |
SchemaLocationRemover.onElement(ElementExp exp) |
|
Expression |
NoneTypeRemover.onOther(OtherExp exp) |
|
Expression |
SchemaLocationRemover.onOther(OtherExp exp) |
|
Expression |
NoneTypeRemover.onRef(ReferenceExp exp) |
|
Expression |
SchemaLocationRemover.onRef(ReferenceExp exp) |
Modifier and Type | Method | Description |
---|---|---|
static Set[] |
ElementDeclCollector.collect(Expression exp) |
collects all element and attribute declarations.
|
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.
|
Constructor | Description |
---|---|
Generator(Expression exp,
Document emptyDoc,
GeneratorOption opts) |
Modifier and Type | Class | Description |
---|---|---|
class |
AttributeExp |
Attribute declaration.
|
class |
BinaryExp |
Base implementation for those expression which has two child expressions.
|
class |
ChoiceExp |
A|B.
|
class |
ConcurExp |
<concur> pattern of TREX.
|
class |
DataExp |
Expression that matchs characters of the particular
Datatype . |
class |
ElementExp |
Element declaration.
|
class |
InterleaveExp |
<interleave> pattern of TREX, or <all> particle of XML Schema.
|
class |
ListExp |
<list> of RELAX NG.
|
class |
MixedExp |
<mixed> of RELAX.
|
class |
OneOrMoreExp |
A+.
|
class |
OtherExp |
Base class for application-specific AGM annotation.
|
class |
ReferenceExp |
Reference to the other expression.
|
class |
SequenceExp |
A,B.
|
class |
UnaryExp |
Base implementation for those expression who has one child expresison.
|
class |
ValueExp |
Expression that matchs a particular value of a
Datatype . |
Modifier and Type | Field | Description |
---|---|---|
static Expression |
Expression.anyString |
special expression object that represents "any string".
|
Expression |
ElementExp.contentModel |
content model of this element declaration.
|
static Expression |
Expression.epsilon |
Special expression object that represents epsilon (ε).
|
Expression |
DataExp.except |
'except' clause of RELAX NG.
|
Expression |
AttributeExp.exp |
child expression
|
Expression |
OtherExp.exp |
child expression.
|
Expression |
ReferenceExp.exp |
child expression.
|
Expression |
UnaryExp.exp |
child expression.
|
Expression |
BinaryExp.exp1 |
|
Expression |
BinaryExp.exp2 |
|
static Expression |
Expression.nullSet |
special expression object that represents the empty set (Φ).
|
Modifier and Type | Method | Description |
---|---|---|
Expression |
ExpressionPool.createAnyString() |
|
Expression |
ExpressionPool.createAttribute(NameClass nameClass) |
|
Expression |
ExpressionPool.createAttribute(NameClass nameClass,
Expression content) |
|
Expression |
ExpressionPool.createChoice(Expression left,
Expression right) |
|
Expression |
ExpressionPool.createConcur(Expression left,
Expression right) |
|
Expression |
ExpressionPool.createData(XSDatatype dt) |
|
Expression |
ExpressionPool.createData(org.relaxng.datatype.Datatype dt,
StringPair typeName) |
|
Expression |
ExpressionPool.createData(org.relaxng.datatype.Datatype dt,
StringPair typeName,
Expression except) |
|
Expression |
ExpressionPool.createEpsilon() |
|
Expression |
ExpressionPool.createInterleave(Expression left,
Expression right) |
|
Expression |
ExpressionPool.createList(Expression exp) |
|
Expression |
ExpressionPool.createMixed(Expression body) |
|
Expression |
ExpressionPool.createNullSet() |
|
Expression |
ExpressionPool.createOneOrMore(Expression child) |
|
Expression |
ExpressionPool.createOptional(Expression child) |
|
Expression |
ExpressionPool.createSequence(Expression left,
Expression right) |
|
Expression |
ExpressionPool.createValue(XSDatatype dt,
Object value) |
|
Expression |
ExpressionPool.createValue(org.relaxng.datatype.Datatype dt,
StringPair typeName,
Object value) |
|
Expression |
ExpressionPool.createZeroOrMore(Expression child) |
|
Expression |
ExpressionPool.ClosedHash.get(int hash,
Expression child,
Class type) |
|
Expression |
ExpressionPool.ClosedHash.get(Expression key) |
|
Expression |
ExpressionPool.ClosedHash.getBinExp(Expression left,
Expression right,
Class type) |
|
Expression[] |
BinaryExp.getChildren() |
returns all child expressions in one array.
|
Expression |
AttributeExp.getContentModel() |
|
Expression |
ElementExp.getContentModel() |
|
Expression |
NameClassAndExpression.getContentModel() |
|
Expression |
Expression.getExpandedExp(ExpressionPool pool) |
Gets the expression after removing all ReferenceExps, until child
AttributeExp or ElementExp.
|
Expression |
Grammar.getTopLevel() |
gets top-level expression.
|
Expression |
ExpressionCloner.onAnyString() |
|
Expression |
ExpressionVisitorExpression.onAnyString() |
|
Expression |
ExpressionVisitorExpression.onAttribute(AttributeExp exp) |
|
Expression |
ExpressionCloner.onChoice(ChoiceExp exp) |
|
Expression |
ExpressionVisitorExpression.onChoice(ChoiceExp exp) |
|
Expression |
ExpressionCloner.onConcur(ConcurExp exp) |
|
Expression |
ExpressionVisitorExpression.onConcur(ConcurExp p) |
|
Expression |
ExpressionCloner.onData(DataExp exp) |
|
Expression |
ExpressionVisitorExpression.onData(DataExp exp) |
|
Expression |
ExpressionVisitorExpression.onElement(ElementExp exp) |
|
Expression |
ExpressionCloner.onEpsilon() |
|
Expression |
ExpressionVisitorExpression.onEpsilon() |
|
Expression |
ExpressionCloner.onInterleave(InterleaveExp exp) |
|
Expression |
ExpressionVisitorExpression.onInterleave(InterleaveExp p) |
|
Expression |
ExpressionCloner.onList(ListExp exp) |
|
Expression |
ExpressionVisitorExpression.onList(ListExp exp) |
|
Expression |
ExpressionCloner.onMixed(MixedExp exp) |
|
Expression |
ExpressionVisitorExpression.onMixed(MixedExp exp) |
|
Expression |
ExpressionCloner.onNullSet() |
|
Expression |
ExpressionVisitorExpression.onNullSet() |
|
Expression |
ExpressionCloner.onOneOrMore(OneOrMoreExp exp) |
|
Expression |
ExpressionVisitorExpression.onOneOrMore(OneOrMoreExp exp) |
|
Expression |
ExpressionVisitorExpression.onOther(OtherExp exp) |
|
Expression |
ExpressionVisitorExpression.onRef(ReferenceExp exp) |
|
Expression |
ExpressionCloner.onSequence(SequenceExp exp) |
|
Expression |
ExpressionVisitorExpression.onSequence(SequenceExp exp) |
|
Expression |
ExpressionCloner.onValue(ValueExp exp) |
|
Expression |
ExpressionVisitorExpression.onValue(ValueExp exp) |
|
Expression |
Expression.peelOccurence() |
Peels the occurence expressions from this expression.
|
protected Expression |
ExpressionPool.unify(Expression exp) |
unifies expressions.
|
Expression |
AttributeExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
ChoiceExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
ConcurExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
DataExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
ElementExp.visit(ExpressionVisitorExpression visitor) |
|
abstract Expression |
Expression.visit(ExpressionVisitorExpression visitor) |
|
Expression |
Expression.visit(RELAXExpressionVisitorExpression visitor) |
|
Expression |
InterleaveExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
ListExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
MixedExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
OneOrMoreExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
OtherExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
ReferenceExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
SequenceExp.visit(ExpressionVisitorExpression visitor) |
|
Expression |
ValueExp.visit(ExpressionVisitorExpression visitor) |
Modifier and Type | Method | Description |
---|---|---|
Expression |
ExpressionPool.createAttribute(NameClass nameClass,
Expression content) |
|
Expression |
ExpressionPool.createChoice(Expression left,
Expression right) |
|
Expression |
ExpressionPool.createConcur(Expression left,
Expression right) |
|
Expression |
ExpressionPool.createData(org.relaxng.datatype.Datatype dt,
StringPair typeName,
Expression except) |
|
Expression |
ExpressionPool.createInterleave(Expression left,
Expression right) |
|
Expression |
ExpressionPool.createList(Expression exp) |
|
Expression |
ExpressionPool.createMixed(Expression body) |
|
Expression |
ExpressionPool.createOneOrMore(Expression child) |
|
Expression |
ExpressionPool.createOptional(Expression child) |
|
Expression |
ExpressionPool.createSequence(Expression left,
Expression right) |
|
Expression |
ExpressionPool.createZeroOrMore(Expression child) |
|
Expression |
ExpressionPool.ClosedHash.get(int hash,
Expression child,
Class type) |
|
Expression |
ExpressionPool.ClosedHash.get(Expression key) |
|
Expression |
ExpressionPool.ClosedHash.getBinExp(Expression left,
Expression right,
Class type) |
|
void |
ExpressionPool.ClosedHash.put(Expression newExp) |
put method.
|
protected Expression |
ExpressionPool.unify(Expression exp) |
unifies expressions.
|
Constructor | Description |
---|---|
AttributeExp(NameClass nameClass,
Expression exp) |
|
BinaryExp(Expression left,
Expression right) |
|
DataExp(org.relaxng.datatype.Datatype dt,
StringPair typeName,
Expression except) |
|
ElementExp(Expression contentModel,
boolean ignoreUndeclaredAttributes) |
|
OtherExp(Expression exp) |
|
ReferenceExp(String name,
Expression exp) |
|
UnaryExp(Expression exp) |
Modifier and Type | Class | Description |
---|---|---|
class |
AttPoolClause |
'attPool' of RELAX module.
|
class |
ElementRule |
ElementRule declaration of RELAX.
|
class |
ElementRules |
Set of ElementRule objects that share the label name.
|
class |
HedgeRules |
hedgeRule of RELAX module.
|
class |
TagClause |
'tag' of RELAX module.
|
Modifier and Type | Field | Description |
---|---|---|
Expression |
ElementRule.attributeFreeContentModel |
Attribute-free content model
|
Expression |
RELAXModule.topLevel |
chioce of all exported elementRules and hedgeRules.
|
Modifier and Type | Method | Description |
---|---|---|
Expression |
RELAXModule.getTopLevel() |
|
Expression |
RELAXExpressionVisitorExpression.onAttPool(AttPoolClause exp) |
|
Expression |
RELAXExpressionVisitorExpression.onElementRules(ElementRules exp) |
|
Expression |
RELAXExpressionVisitorExpression.onHedgeRules(HedgeRules exp) |
|
Expression |
RELAXExpressionVisitorExpression.onTag(TagClause exp) |
|
Expression |
AttPoolClause.visit(RELAXExpressionVisitorExpression visitor) |
|
Expression |
ElementRules.visit(RELAXExpressionVisitorExpression visitor) |
|
Expression |
HedgeRules.visit(RELAXExpressionVisitorExpression visitor) |
|
Expression |
TagClause.visit(RELAXExpressionVisitorExpression visitor) |
Modifier and Type | Method | Description |
---|---|---|
void |
HedgeRules.addHedge(Expression exp,
ExpressionPool pool) |
Constructor | Description |
---|---|
ElementRule(ExpressionPool pool,
TagClause clause,
Expression contentModel) |
Modifier and Type | Class | Description |
---|---|---|
class |
RELAXNGGrammar |
Grammar for RELAX NG (with DTD compatibility annotation).
|
Modifier and Type | Class | Description |
---|---|---|
class |
ElementPattern |
<element> pattern of TREX.
|
class |
TREXGrammar |
TREX grammar, which is expressed as <grammar> element.
|
Modifier and Type | Method | Description |
---|---|---|
Expression |
TREXGrammar.getTopLevel() |
gets the start pattern.
|
Constructor | Description |
---|---|
ElementPattern(NameClass nameClass,
Expression contentModel) |
Modifier and Type | Class | Description |
---|---|---|
class |
TypedElementPattern |
ElementPattern with type.
|
Constructor | Description |
---|---|
TypedElementPattern(NameClass nameClass,
Expression contentModel,
String label) |
Modifier and Type | Method | Description |
---|---|---|
Expression |
RefExpRemover.onAttribute(AttributeExp exp) |
|
Expression |
RefExpRemover.onElement(ElementExp exp) |
|
Expression |
RefExpRemover.onOther(OtherExp exp) |
|
Expression |
RefExpRemover.onRef(ReferenceExp exp) |
Modifier and Type | Method | Description |
---|---|---|
protected static boolean |
ExpressionPrinter.isComplex(Expression exp) |
determines whether brackets should be used to represent the pattern
|
static String |
ExpressionPrinter.printContentModel(Expression exp) |
|
static String |
ExpressionPrinter.printFragment(Expression exp) |
|
static String |
ExpressionPrinter.printSmallest(Expression exp) |
Modifier and Type | Class | Description |
---|---|---|
class |
AttributeDeclExp |
global attribute declaration.
|
class |
AttributeGroupExp |
attribute group declaration.
|
class |
ComplexTypeExp |
ComplexType definition.
|
class |
ElementDeclExp |
Element declaration.
|
class |
ElementDeclExp.XSElementExp |
XML Schema version of
ElementExp . |
class |
GroupDeclExp |
model group declaration.
|
class |
OccurrenceExp |
Used to mark a occurrence constraint which cannot
be easily represented by primitive expressions.
|
class |
RedefinableExp |
declaration that can be redefined by using <redefine> element.
|
class |
SimpleTypeExp |
Simple type declaration.
|
class |
SkipElementExp |
ElementExp that is used for <any processContents="skip"/>.
|
class |
XMLSchemaTypeExp |
Base class of
ComplexTypeExp and SimpleTypeExp . |
Modifier and Type | Field | Description |
---|---|---|
Expression |
OccurrenceExp.itemExp |
The unit of repetition.
|
Expression |
XMLSchemaGrammar.topLevel |
|
Expression |
XMLSchemaSchema.topLevel |
choice of all global element declarations.
|
Modifier and Type | Method | Description |
---|---|---|
Expression |
AttributeWildcard.createExpression(XMLSchemaGrammar grammar) |
Creates the expression that corresponds to
the current attribute wildcard specification.
|
Expression |
ElementDeclExp.getContentModel() |
gets the pattern that represents the content model of
this element declaration.
|
Expression |
XMLSchemaGrammar.getTopLevel() |
Constructor | Description |
---|---|
OccurrenceExp(Expression preciseExp,
int maxOccurs,
int minOccurs,
Expression itemExp) |
|
SkipElementExp(NameClass nameClass,
Expression contentModel) |
|
XSElementExp(SimpleNameClass elementName,
Expression contentModel) |
Modifier and Type | Field | Description |
---|---|---|
protected Expression |
ExpressionWithChildState.exp |
expression object that is being created.
|
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
ExpressionWithChildState.annealExpression(Expression exp) |
performs final wrap-up and returns a fully created Expression object
that represents this element.
|
protected 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 pattern
|
protected 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 Expression |
ExpressionWithChildState.makeExpression() |
|
protected Expression |
TerminalState.makeExpression() |
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
ExpressionWithChildState.annealExpression(Expression exp) |
performs final wrap-up and returns a fully created Expression object
that represents this element.
|
protected 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) |
|
static void |
RunAwayExpressionChecker.check(GrammarReader reader,
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) |
|
void |
ExpressionWithChildState.onEndChild(Expression childExpression) |
receives a Pattern object that is contained in this element.
|
Constructor | Description |
---|---|
TerminalState(Expression exp) |
Modifier and Type | Method | Description |
---|---|---|
void |
TypeOwner.onEndChildType(Expression datatype,
String typeName) |
Modifier and Type | Class | Description |
---|---|---|
class |
XSDatatypeExp |
A wrapper of XSDatatype that serves as an expression
and encapsulates lazy-constructed datatypes.
|
Modifier and Type | Field | Description |
---|---|---|
protected Expression |
DTDReader.contentModel |
Modifier and Type | Method | Description |
---|---|---|
protected 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 expression
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
DTDReader.combineToContentModel(Expression exp) |
|
protected Expression |
DTDReader.processOccurs(Expression item,
short occurence) |
processes occurence (?,+,*) of the given expression
|
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
RELAXReader.interceptExpression(State state,
Expression exp) |
|
protected Expression |
ElementRefState.resolve(String namespace,
String label) |
|
protected Expression |
HedgeRefState.resolve(String namespace,
String label) |
|
protected 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.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract void |
HedgeRuleBaseState.endSelf(Expression contentModel) |
derived class will receive child expression by this method
|
protected Expression |
RELAXReader.interceptExpression(State state,
Expression exp) |
|
void |
HedgeRuleBaseState.onEndChild(Expression exp) |
Modifier and Type | Field | Description |
---|---|---|
protected Expression |
ElementRuleWithHedgeState.contentModel |
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
MixedState.annealExpression(Expression exp) |
|
protected Expression |
MixedState.castExpression(Expression current,
Expression child) |
|
protected Expression |
ElementRuleWithHedgeState.getContentModel() |
|
protected Expression |
ElementRuleWithTypeState.getContentModel() |
|
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) |
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
MixedState.annealExpression(Expression exp) |
|
protected Expression |
MixedState.castExpression(Expression current,
Expression child) |
|
protected void |
HedgeRuleState.endSelf(Expression contentModel) |
|
void |
DivInModuleState.onEndChild(Expression exp) |
|
void |
ElementRuleWithHedgeState.onEndChild(Expression exp) |
Modifier and Type | Field | Description |
---|---|---|
protected Expression |
DefineState.exp |
expression object that is being created.
|
protected Expression |
IncludePatternState.included |
Modifier and Type | Method | Description |
---|---|---|
protected 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() |
Modifier and Type | Method | Description |
---|---|---|
protected 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.
|
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) |
Modifier and Type | Method | Description |
---|---|---|
protected 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() |
Modifier and Type | Method | Description |
---|---|---|
protected 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.
|
Modifier and Type | Field | Description |
---|---|---|
protected Expression |
DataState.except |
the 'except' clause.
|
Modifier and Type | Method | Description |
---|---|---|
protected 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() |
Modifier and Type | Method | Description |
---|---|---|
protected 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) |
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
CompAttributeState.annealExpression(Expression contentModel) |
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
CompAttributeState.annealExpression(Expression contentModel) |
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
TypedElementState.annealExpression(Expression contentModel) |
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
TypedElementState.annealExpression(Expression contentModel) |
Modifier and Type | Method | Description |
---|---|---|
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 model
|
protected 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() |
|
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 Expression |
AnyState.makeExpression() |
|
protected Expression |
ElementRefState.makeExpression() |
|
Expression |
XMLSchemaReader.processOccurs(Expression item,
int minOccurs,
int maxOccurs) |
Adds maxOccurs/minOccurs semantics to a given expression.
|
Expression |
XMLSchemaReader.processOccurs(StartTagInfo startTag,
Expression item) |
Adds maxOccurs/minOccurs semantics to a given expression.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
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 model
|
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) |
|
Expression |
XMLSchemaReader.processOccurs(Expression item,
int minOccurs,
int maxOccurs) |
Adds maxOccurs/minOccurs semantics to a given expression.
|
Expression |
XMLSchemaReader.processOccurs(StartTagInfo startTag,
Expression item) |
Adds maxOccurs/minOccurs semantics to a given expression.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ExternalAttributeExp |
place holder for imported attributes declaration.
|
class |
ExternalElementExp |
place holder for imported element declaration.
|
Modifier and Type | Field | Description |
---|---|---|
Expression |
DeclImpl.exp |
"meat" of this Rule.
|
Expression |
RELAXGrammar.topLevel |
top-level expression
|
Modifier and Type | Method | Description |
---|---|---|
Expression |
RELAXGrammar.getTopLevel() |
Constructor | Description |
---|---|
DeclImpl(String name,
Expression exp) |
Modifier and Type | Class | Description |
---|---|---|
class |
AnyOtherElementExp |
place holder for <anyOtherElement> of RELAX.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
AnyOtherElementExp.wrapUp(Grammar owner,
Expression pseudoContentModel,
org.iso_relax.dispatcher.SchemaProvider provider,
ErrorHandler errorHandler) |
creates pseudo content model and name class.
|
Modifier and Type | Method | Description |
---|---|---|
protected Expression |
RELAXNSReader.resolveElementRef(String namespace,
String label) |
|
protected Expression |
RELAXNSReader.resolveHedgeRef(String namespace,
String label) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
TopLevelState.endSelf(Expression contentModel) |
|
void |
RootGrammarState.onEndChild(Expression exp) |
Modifier and Type | Method | Description |
---|---|---|
protected 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) |
Modifier and Type | Method | Description |
---|---|---|
Expression |
IslandSchemaImpl.Binder.onAttribute(AttributeExp exp) |
|
Expression |
IslandSchemaImpl.Binder.onElement(ElementExp exp) |
|
Expression |
IslandSchemaImpl.Binder.onOther(OtherExp exp) |
|
Expression |
IslandSchemaImpl.Binder.onRef(ReferenceExp exp) |
Modifier and Type | Field | Description |
---|---|---|
Expression |
CombinedChildContentExpCreator.ExpressionPair.content |
|
protected Expression[] |
ComplexAcceptorBaseImpl.contents |
|
Expression |
CombinedChildContentExpCreator.ExpressionPair.continuation |
|
Expression |
SimpleAcceptor.continuation |
the expression that should be used by the parent acceptor
once if this acceptor is satisfied.
|
protected Expression |
REDocumentDeclaration.topLevel |
start validation from this expression.
|
Modifier and Type | Method | Description |
---|---|---|
Expression |
ResidualCalculator.calcResidual(Expression exp,
Token token) |
compute the residual
|
Expression |
AttributeFeeder.feed(Expression exp,
AttributeToken token,
boolean ignoreUndeclaredAttribute) |
|
Expression |
ExpressionAcceptor.getExpression() |
gets the residual content model.
|
Expression |
AttributeFeeder.onAnyString() |
|
Expression |
AttributePicker.onAnyString() |
|
Expression |
ResidualCalculator.onAnyString() |
|
Expression |
AttributeFeeder.onAttribute(AttributeExp exp) |
|
Expression |
AttributePicker.onAttribute(AttributeExp exp) |
|
Expression |
AttributePruner.onAttribute(AttributeExp exp) |
|
Expression |
AttributeRemover.onAttribute(AttributeExp exp) |
|
Expression |
ResidualCalculator.onAttribute(AttributeExp exp) |
|
Expression |
AttributeFeeder.onChoice(ChoiceExp exp) |
|
Expression |
AttributePicker.onChoice(ChoiceExp exp) |
|
Expression |
ResidualCalculator.onChoice(ChoiceExp exp) |
|
Expression |
AttributeFeeder.onConcur(ConcurExp exp) |
|
Expression |
AttributePicker.onConcur(ConcurExp exp) |
|
Expression |
ResidualCalculator.onConcur(ConcurExp exp) |
|
Expression |
AttributeFeeder.onData(DataExp exp) |
|
Expression |
AttributePicker.onData(DataExp exp) |
|
Expression |
ResidualCalculator.onData(DataExp exp) |
|
Expression |
AttributeFeeder.onElement(ElementExp exp) |
|
Expression |
AttributePicker.onElement(ElementExp exp) |
|
Expression |
AttributePruner.onElement(ElementExp exp) |
|
Expression |
AttributeRemover.onElement(ElementExp exp) |
|
Expression |
ResidualCalculator.onElement(ElementExp exp) |
|
Expression |
AttributeFeeder.onEpsilon() |
|
Expression |
AttributePicker.onEpsilon() |
|
Expression |
ResidualCalculator.onEpsilon() |
|
Expression |
AttributeFeeder.onInterleave(InterleaveExp exp) |
|
Expression |
AttributePicker.onInterleave(InterleaveExp exp) |
|
Expression |
ResidualCalculator.onInterleave(InterleaveExp exp) |
|
Expression |
AttributeFeeder.onList(ListExp exp) |
|
Expression |
AttributePicker.onList(ListExp exp) |
|
Expression |
ResidualCalculator.onList(ListExp exp) |
|
Expression |
AttributeFeeder.onMixed(MixedExp exp) |
|
Expression |
AttributePicker.onMixed(MixedExp exp) |
|
Expression |
ResidualCalculator.onMixed(MixedExp exp) |
|
Expression |
AttributeFeeder.onNullSet() |
|
Expression |
AttributePicker.onNullSet() |
|
Expression |
ResidualCalculator.onNullSet() |
|
Expression |
AttributeFeeder.onOneOrMore(OneOrMoreExp exp) |
|
Expression |
AttributePicker.onOneOrMore(OneOrMoreExp exp) |
|
Expression |
ResidualCalculator.onOneOrMore(OneOrMoreExp exp) |
|
Expression |
AttributeFeeder.onOther(OtherExp exp) |
|
Expression |
AttributePicker.onOther(OtherExp exp) |
|
Expression |
AttributePruner.onOther(OtherExp exp) |
|
Expression |
AttributeRemover.onOther(OtherExp exp) |
|
Expression |
ResidualCalculator.onOther(OtherExp exp) |
|
Expression |
AttributeFeeder.onRef(ReferenceExp exp) |
|
Expression |
AttributePicker.onRef(ReferenceExp exp) |
|
Expression |
AttributePruner.onRef(ReferenceExp exp) |
|
Expression |
AttributeRemover.onRef(ReferenceExp exp) |
|
Expression |
ResidualCalculator.onRef(ReferenceExp exp) |
|
Expression |
AttributeFeeder.onSequence(SequenceExp exp) |
|
Expression |
AttributePicker.onSequence(SequenceExp exp) |
|
Expression |
ResidualCalculator.onSequence(SequenceExp exp) |
|
Expression |
AttributeFeeder.onValue(ValueExp exp) |
|
Expression |
AttributePicker.onValue(ValueExp exp) |
|
Expression |
ResidualCalculator.onValue(ValueExp exp) |
|
Expression |
AttributePruner.prune(Expression exp) |
Modifier and Type | Method | Description |
---|---|---|
static int |
StringCareLevelCalculator.calc(Expression exp) |
|
Expression |
ResidualCalculator.calcResidual(Expression exp,
Token token) |
compute the residual
|
void |
ElementsOfConcernCollector.collect(Expression exp,
Collection result) |
|
CombinedChildContentExpCreator.ExpressionPair |
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) |
|
Expression |
AttributeFeeder.feed(Expression exp,
AttributeToken token,
boolean ignoreUndeclaredAttribute) |
|
CombinedChildContentExpCreator.ExpressionPair |
CombinedChildContentExpCreator.get(Expression combinedPattern,
StartTagInfo info) |
computes a combined child content pattern and (,if possible,) its continuation.
|
CombinedChildContentExpCreator.ExpressionPair |
CombinedChildContentExpCreator.get(Expression combinedPattern,
StartTagInfo info,
boolean checkTagName) |
computes a combined child content pattern and its continuation, with error recovery.
|
Expression |
AttributePruner.prune(Expression exp) |
|
boolean |
ExpressionAcceptor.stepForwardByContinuation(Expression continuation,
StringRef errRef) |
Constructor | Description |
---|---|
ComplexAcceptor(REDocumentDeclaration docDecl,
Expression combined,
ElementExp[] primitives) |
|
ComplexAcceptor(REDocumentDeclaration docDecl,
Expression combined,
Expression[] contentModels,
ElementExp[] owners) |
|
ComplexAcceptorBaseImpl(REDocumentDeclaration docDecl,
Expression combined,
Expression[] contents,
boolean ignoreUndeclaredAttributes) |
|
ContentModelAcceptor(REDocumentDeclaration docDecl,
Expression exp,
boolean ignoreUndeclaredAttributes) |
|
ExpressionAcceptor(REDocumentDeclaration docDecl,
Expression exp,
boolean ignoreUndeclaredAttributes) |
|
ExpressionPair(Expression content,
Expression continuation) |
|
REDocumentDeclaration(Expression topLevel,
ExpressionPool pool) |
creates an object that validates the specified expression.
|
SimpleAcceptor(REDocumentDeclaration docDecl,
Expression combined,
ElementExp owner,
Expression continuation) |
Modifier and Type | Method | Description |
---|---|---|
protected Acceptor |
XSAcceptor.createAcceptor(Expression combined,
Expression continuation,
ElementExp[] primitives,
int numPrimitives) |
creates an XSAcceptor instead of default acceptor implementations.
|
Constructor | Description |
---|---|
XSAcceptor(XSREDocDecl docDecl,
Expression combined,
ElementExp owner,
Expression continuation) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
PatternWriter.onOptional(Expression exp) |
|
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.
|
Copyright © 2019 Oracle Corporation. All rights reserved.