Package com.sun.msv.reader.trex.ng
Class RELAXNGReader.RefExpParseInfo
java.lang.Object
com.sun.msv.reader.trex.ng.RELAXNGReader.RefExpParseInfo
- Enclosing class:
RELAXNGReader
information necessary to correctly parse pattern definitions.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionThe combine method which is used to combine this pattern.final Vector
ReferenceExps which are referenced from this pattern directly (without having ElementExp in between.)boolean
This field is set to true once the head declaration is found.final Vector
ReferenceExps which are referenced from this pattern indirectly (with ElementExp in between.)static final RELAXNGReader.RefExpParseInfo.RedefinitionStatus
This named pattern is not being redefined.static final RELAXNGReader.RefExpParseInfo.RedefinitionStatus
The same asoriginalNotFoundYet
, but we saw the original definition.static final RELAXNGReader.RefExpParseInfo.RedefinitionStatus
This named pattern is being redefined.Current redefinition status. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Copies the contents of rhs into this object.
-
Field Details
-
haveHead
public boolean haveHeadThis field is set to true once the head declaration is found. A head declaration is a define element without the combine attribute. It is an error that two head declarations share the same name. -
combineMethod
The combine method which is used to combine this pattern. this field is set to null if combine attribute is not yet used. -
notBeingRedefined
This named pattern is not being redefined. So it will be a part of the grammar. -
originalNotFoundYet
This named pattern is being redefined. So even if we'll see some <define> with this name, it will not be a part of the grammar. This state means that we don't yet see the definition of the original. We need to issue an error if the pattern is redefined but there is no original in the included grammar. -
originalFound
The same asoriginalNotFoundYet
, but we saw the original definition. -
redefinition
Current redefinition status. -
directRefs
ReferenceExps which are referenced from this pattern directly (without having ElementExp in between.)This is used to detect recursive self reference errors.
-
indirectRefs
ReferenceExps which are referenced from this pattern indirectly (with ElementExp in between.)
-
-
Constructor Details
-
RefExpParseInfo
protected RefExpParseInfo()
-
-
Method Details
-
set
Copies the contents of rhs into this object.
-