Serialized Form

Package com.sun.msv.grammar

Class com.sun.msv.grammar.AnyNameClass extends NameClass implements Serializable

serialVersionUID: 1L

Serialization Methods

readResolve

private Object readResolve()

Class com.sun.msv.grammar.AttributeExp extends Expression implements Serializable

serialVersionUID: 1L

Serialized Fields

nameClass

 NameClass nameClass
constraint over attribute name

exp

 Expression exp
child expression

Class com.sun.msv.grammar.BinaryExp extends Expression implements Serializable

serialVersionUID: 1L

Serialized Fields

exp1

 Expression exp1

exp2

 Expression exp2

Class com.sun.msv.grammar.ChoiceExp extends BinaryExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.ChoiceNameClass extends NameClass implements Serializable

serialVersionUID: 1L

Serialized Fields

nc1

 NameClass nc1

nc2

 NameClass nc2

Class com.sun.msv.grammar.ConcurExp extends BinaryExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.DataExp extends Expression implements Serializable

serialVersionUID: 1L

Serialized Fields

dt

 Datatype dt
datatype object that actually validates text.

name

 StringPair name
name of this datatype. The value of this field is not considered as significant. When two TypedStringExps share the same Datatype object, then they are unified even if they have different names.

except

 Expression except
'except' clause of RELAX NG. If a token matches this pattern, then it should be rejected.

Class com.sun.msv.grammar.DifferenceNameClass extends NameClass implements Serializable

serialVersionUID: 1L

Serialized Fields

nc1

 NameClass nc1

nc2

 NameClass nc2

Class com.sun.msv.grammar.ElementExp extends Expression implements Serializable

serialVersionUID: 1L

Serialized Fields

contentModel

 Expression contentModel
content model of this element declaration.

ignoreUndeclaredAttributes

 boolean ignoreUndeclaredAttributes
a flag that indicates undeclared attributes should be ignored.

Class com.sun.msv.grammar.Expression extends Object implements Serializable

serialVersionUID: -569561418606215601L

Serialization Methods

readResolve

protected Object readResolve()

Serialized Fields

epsilonReducibility

 Boolean epsilonReducibility
cached value of epsilon reducibility. Epsilon reducibility can only be calculated after parsing the entire expression, because of forward reference to other pattern.

expandedExp

 Expression expandedExp
Cached value of the expression after ReferenceExps are removed. This value is computed on demand.

Class com.sun.msv.grammar.ExpressionPool extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

expTable

 ExpressionPool.ClosedHash expTable
hash table that contains all expressions currently known to this table.

Class com.sun.msv.grammar.ExpressionPool.ClosedHash extends Object implements Serializable

serialVersionUID: -2924295970572669668L

Serialized Fields

table

 Expression[] table
The hash table data.

count

 int count
The total number of mappings in the hash table.

threshold

 int threshold
The table is rehashed when its size exceeds this threshold. (The value of this field is (int)(capacity * loadFactor).)

parent

 ExpressionPool.ClosedHash parent
The parent hash table. can be null. items in the parent hash table will be returned by get method.

The field is essentially final but because of the serialization support we cannot mark it as such.

Class com.sun.msv.grammar.Grammar extends Object implements Serializable

Class com.sun.msv.grammar.InterleaveExp extends BinaryExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.ListExp extends UnaryExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.MixedExp extends UnaryExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.NameClass extends Object implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.NamespaceNameClass extends NameClass implements Serializable

serialVersionUID: 1L

Serialized Fields

namespaceURI

 String namespaceURI

Class com.sun.msv.grammar.NotNameClass extends NameClass implements Serializable

serialVersionUID: 1L

Serialized Fields

child

 NameClass child

Class com.sun.msv.grammar.OneOrMoreExp extends UnaryExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.OtherExp extends Expression implements Serializable

serialVersionUID: 1L

Serialized Fields

exp

 Expression exp
child expression.

Class com.sun.msv.grammar.ReferenceContainer extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

impl

 Map impl

Class com.sun.msv.grammar.ReferenceExp extends Expression implements Serializable

serialVersionUID: 1L

Serialized Fields

exp

 Expression exp
child expression. Due to the possible forward reference, this variable is not available when the object is instanciated. Actual expression will be set once if the definition is parsed.

name

 String name
name of the referenced expression. can be null for anonymously referenced expression.

Class com.sun.msv.grammar.SequenceExp extends BinaryExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.SimpleNameClass extends NameClass implements Serializable

serialVersionUID: 1L

Serialized Fields

namespaceURI

 String namespaceURI

localName

 String localName

Class com.sun.msv.grammar.UnaryExp extends Expression implements Serializable

serialVersionUID: 1L

Serialized Fields

exp

 Expression exp
child expression.

Class com.sun.msv.grammar.ValueExp extends Expression implements Serializable

serialVersionUID: 1L

Serialized Fields

dt

 Datatype dt
Datatype object that is used to test the equality.

value

 Object value
This expression matches this value only.

name

 StringPair name
name of this datatype. The value of this field is not considered as significant. When two TypedStringExps share the same Datatype object, then they are unified even if they have different names.

Package com.sun.msv.grammar.dtd

Class com.sun.msv.grammar.dtd.LocalNameClass extends NameClass implements Serializable

serialVersionUID: 1L

Serialized Fields

localName

 String localName

Package com.sun.msv.grammar.relax

Class com.sun.msv.grammar.relax.AttPoolClause extends ReferenceExp implements Serializable

serialVersionUID: 1L

Serialized Fields

exported

 boolean exported
a flag that indicates this elementRule is exported and therefore accessible from other modules.

Class com.sun.msv.grammar.relax.ElementRule extends ElementExp implements Serializable

serialVersionUID: 1L

Serialized Fields

clause

 TagClause clause
constraints over start tag of the element

attributeFreeContentModel

 Expression attributeFreeContentModel
Attribute-free content model

parent

 ElementRules parent

Class com.sun.msv.grammar.relax.ElementRules extends ReferenceExp implements Serializable

serialVersionUID: 1L

Serialized Fields

exported

 boolean exported
a flag that indicates this elementRule is exported and therefore accessible from other modules.

ownerModule

 RELAXModule ownerModule
RELAXModule object to which this object belongs

Class com.sun.msv.grammar.relax.HedgeRules extends ReferenceExp implements Serializable

serialVersionUID: 1L

Serialized Fields

exported

 boolean exported
a flag that indicates this hedgeRule is exported and therefore accessible from other modules.

ownerModule

 RELAXModule ownerModule
RELAXModule object to which this object belongs

Class com.sun.msv.grammar.relax.RELAXModule.AttPoolContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.relax.RELAXModule.ElementRulesContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.relax.RELAXModule.HedgeRulesContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.relax.RELAXModule.TagContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.relax.TagClause extends ReferenceExp implements Serializable

serialVersionUID: 1L

Serialized Fields

nameClass

 NameClass nameClass
tag name constraint. This should be SimpleNameClass. The only exception is for stub module.

Package com.sun.msv.grammar.relaxng

Class com.sun.msv.grammar.relaxng.RELAXNGGrammar extends TREXGrammar implements Serializable

serialVersionUID: 1L

Serialized Fields

isIDcompatible

 boolean isIDcompatible
the compatibility property of the ID/IDREF feature. This flag is set to true if this schema is compatible in terms of ID/IDREF, as defined in the spec.

isDefaultAttributeValueCompatible

 boolean isDefaultAttributeValueCompatible
the compatibility property of the default attribute feature. This flag is set to true if this schema is compatible in terms of the default attribute value feature, as defined in the spec.

Note that the currently we don't support infoset augmentation.


isAnnotationCompatible

 boolean isAnnotationCompatible
the compatibility property of the annotation feature. This flag is set to true if this schema is compatible in terms of the annotation feature, as defined in the spec.

Package com.sun.msv.grammar.trex

Class com.sun.msv.grammar.trex.ElementPattern extends ElementExp implements Serializable

serialVersionUID: 1L

Serialized Fields

nameClass

 NameClass nameClass

Class com.sun.msv.grammar.trex.TREXGrammar extends ReferenceExp implements Serializable

serialVersionUID: 1L

Serialized Fields

namedPatterns

 TREXGrammar.RefContainer namedPatterns
named patterns which are defined by using <define> element. this is a map from pattern name to RefPattern object

pool

 ExpressionPool pool
ExpressionPool that is associated with this grammar

parentGrammar

 TREXGrammar parentGrammar
in case of nested grammar, this variable points to the parent grammar. Otherwise null.

dataTypes

 DataTypeVocabularyMap dataTypes
data type vocabularies used and defined by this grammar.

Class com.sun.msv.grammar.trex.TREXGrammar.RefContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Package com.sun.msv.grammar.trex.typed

Class com.sun.msv.grammar.trex.typed.TypedElementPattern extends ElementPattern implements Serializable

serialVersionUID: 1L

Serialized Fields

label

 String label
label of this element.

Package com.sun.msv.grammar.xmlschema

Class com.sun.msv.grammar.xmlschema.AttributeDeclExp extends ReferenceExp implements Serializable

serialVersionUID: 1L

Serialized Fields

self

 AttributeExp self
actual definition. This expression contains meaningful information.

Class com.sun.msv.grammar.xmlschema.AttributeGroupExp extends RedefinableExp implements Serializable

serialVersionUID: 1L

Serialized Fields

wildcard

 AttributeWildcard wildcard
Attribute wild card constraint.

Due to the nasty definition of the interaction between attribute wildcards, we cannot add the expression for validating wildcard until the very last moment.

In any way, AttribtueGroupExp will NOT contain the expression corresponding to the wildcard. Only ComplexTypeExp will get that expression.

Until the wrap-up phase of the schema parsing, this field will contain the "local wildcard definition." In the wrap-up phase, this field is replaced by the "complete wildcard definition."

Class com.sun.msv.grammar.xmlschema.ComplexTypeExp extends XMLSchemaTypeExp implements Serializable

serialVersionUID: 1L

Serialized Fields

body

 ReferenceExp body
actual content model definition + attribute uses.

attWildcard

 ReferenceExp attWildcard
attribute wildcard as an expression.

parent

 XMLSchemaSchema parent
parent XMLSchemaSchema object to which this object belongs.

wildcard

 AttributeWildcard wildcard
Attribute wild card constraint.

Due to the nasty definition of the interaction between attribute wildcards, we cannot add the expression for validating wildcard until the very last moment.

Until the wrap-up phase of the schema parsing, this field will contain the "local wildcard definition." In the wrap-up phase, this field is replaced by the "complete wildcard definition."


complexBaseType

 ComplexTypeExp complexBaseType
base type of this complex type. Either baseComplexType field or baseSimpleType field is set. If the base type is ur-type, both fields are set to null.

simpleBaseType

 XSDatatypeExp simpleBaseType
base type of this complex type.

derivationMethod

 int derivationMethod
the derivation method used to derive this complex type from the base type. Either RESTRICTION or EXTENSION.

finalValue

 int finalValue
The final property of this schema component, implemented as a bit field.

0, RESTRICTION, EXTENSION, or (RESTRICTION|EXTENSION).


block

 int block
The block property of this schema component, implemented as a bit field.

0, RESTRICTION, EXTENSION, or (RESTRICTION|EXTENSION).

Class com.sun.msv.grammar.xmlschema.ElementDeclExp extends ReferenceExp implements Serializable

serialVersionUID: 1L

Serialized Fields

substitutionAffiliation

 ElementDeclExp substitutionAffiliation
The substitution group affiliation property of this component, if any. Otherwise null.

body

 ReferenceExp body
The expression that represents the "body" of this expression. Usually, this refers to XSElementExp, but not necessarily.

element

 ElementDeclExp.XSElementExp element

substitutions

 ReferenceExp substitutions
choices of all elements that can validly substitute this element.

parent

 XMLSchemaSchema parent
parent XMLSchemaSchema object to which this object belongs.

isNillable

 boolean isNillable

finalValue

 int finalValue
The substitution group exclusions property of this schema component, implemented as a bit field.

a bit-wise OR of RESTRICTION and EXTENSION.


block

 int block
The disallowed substitution property of this schema component, implemented as a bit field.

a bit-wise OR of RESTRICTION, EXTENSION, and SUBSTITUTION.

Class com.sun.msv.grammar.xmlschema.ElementDeclExp.XSElementExp extends ElementExp implements Serializable

serialVersionUID: 1L

Serialized Fields

elementName

 SimpleNameClass elementName

identityConstraints

 Vector identityConstraints

parent

 ElementDeclExp parent

Class com.sun.msv.grammar.xmlschema.Field extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

paths

 XPath[] paths
XPath that characterizes this field. 'A|B' is represented by using two FieldPath objects.

Class com.sun.msv.grammar.xmlschema.GroupDeclExp extends RedefinableExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.IdentityConstraint extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

selectors

 XPath[] selectors
selectors of the identity constraint. each XPath separated by '|' will be treated as one entity.

namespaceURI

 String namespaceURI
namespace URI of the identity constraint.

localName

 String localName
local name of the identity constraint.

fields

 Field[] fields
fields of this constraint.

Class com.sun.msv.grammar.xmlschema.KeyConstraint extends IdentityConstraint implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.KeyRefConstraint extends IdentityConstraint implements Serializable

serialVersionUID: 1L

Serialized Fields

key

 KeyConstraint key
corresponding key constraint. this field is intentionally non-final.

Class com.sun.msv.grammar.xmlschema.LaxDefaultNameClass extends NameClass implements Serializable

serialVersionUID: 1L

Serialized Fields

base

 NameClass base

equivalentNameClass

 NameClass equivalentNameClass
equivalent name class by conventional primitives. Initially null, and created on demand.

names

 Set names
set of StringPairs. each item represents one name. it also contains WILDCARD as entry.

Class com.sun.msv.grammar.xmlschema.OccurrenceExp extends OtherExp implements Serializable

serialVersionUID: 1L

Serialized Fields

maxOccurs

 int maxOccurs
Maximum occurence. -1 to indicate "unbounded"

minOccurs

 int minOccurs
Minimum occurence.

itemExp

 Expression itemExp
The unit of repetition.

Class com.sun.msv.grammar.xmlschema.RedefinableExp extends ReferenceExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.SimpleTypeExp extends XMLSchemaTypeExp implements Serializable

serialVersionUID: 1L

Serialized Fields

type

 XSDatatypeExp type

Class com.sun.msv.grammar.xmlschema.SkipElementExp extends ElementPattern implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.UniqueConstraint extends IdentityConstraint implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.XMLSchemaSchema extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

targetNamespace

 String targetNamespace
target namespace URI of this schema.

pool

 ExpressionPool pool
pool object which was used to construct this grammar.

topLevel

 Expression topLevel
choice of all global element declarations.

simpleTypes

 XMLSchemaSchema.SimpleTypeContainer simpleTypes
map from simple type name to SimpleTypeExp object

complexTypes

 XMLSchemaSchema.ComplexTypeContainer complexTypes
map from simple type name to SimpleTypeExp object

attributeGroups

 XMLSchemaSchema.AttributeGroupContainer attributeGroups
map from attribute group name to AttributeGroupExp object

attributeDecls

 XMLSchemaSchema.AttributeDeclContainer attributeDecls
map from attribute declaration name to AttributeDeclExp object

elementDecls

 XMLSchemaSchema.ElementDeclContainer elementDecls
map from attribute declaration name to AttributeDeclExp object

groupDecls

 XMLSchemaSchema.GroupDeclContainer groupDecls
map from attribute declaration name to AttributeDeclExp object

identityConstraints

 XMLSchemaSchema.IdentityConstraintContainer identityConstraints
map from identity constraint name to IdentityConstraint object.

Class com.sun.msv.grammar.xmlschema.XMLSchemaSchema.AttributeDeclContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.XMLSchemaSchema.AttributeGroupContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.XMLSchemaSchema.ComplexTypeContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.XMLSchemaSchema.ElementDeclContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.XMLSchemaSchema.GroupDeclContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.XMLSchemaSchema.IdentityConstraintContainer extends Object implements Serializable

Serialized Fields

storage

 Map storage

Class com.sun.msv.grammar.xmlschema.XMLSchemaSchema.SimpleTypeContainer extends ReferenceContainer implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.XMLSchemaTypeExp extends RedefinableExp implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.xmlschema.XPath extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

isAnyDescendant

 boolean isAnyDescendant
this field is true if the XPath starts with '//' operator.

steps

 NameClass[] steps
each name class represents each step.

attributeStep

 NameClass attributeStep
optional attribute step that can only appear as the last child. Null if not present.

Package com.sun.msv.reader.datatype

Class com.sun.msv.reader.datatype.DataTypeVocabularyMap extends Object implements Serializable

Serialized Fields

impl

 Map impl
map from namespace URI to DataTypeVocabulary

Package com.sun.msv.reader.datatype.xsd

Class com.sun.msv.reader.datatype.xsd.XSDatatypeExp extends ReferenceExp implements Serializable

serialVersionUID: 1L

Serialized Fields

namespaceUri

 String namespaceUri
Namespace URI of this datatype. Local name is stored in the name field of ReferenceExp.

dt

 XSDatatype dt

pool

 ExpressionPool pool
ExpressionPool that can be used if necessary.

Class com.sun.msv.reader.datatype.xsd.XSDVocabulary extends Object implements Serializable

Package com.sun.msv.relaxns.grammar

Class com.sun.msv.relaxns.grammar.DeclImpl extends Object implements Serializable

Serialized Fields

exp

 Expression exp
"meat" of this Rule.

name

 String name
name of this rule

Class com.sun.msv.relaxns.grammar.ExternalAttributeExp extends OtherExp implements Serializable

serialVersionUID: 1L

Serialized Fields

namespaceURI

 String namespaceURI
namespace URI that this object belongs to.

role

 String role
name of the imported AttributesDecl

Class com.sun.msv.relaxns.grammar.ExternalElementExp extends ElementExp implements Serializable

serialVersionUID: 1L

Serialized Fields

nameClass

 NamespaceNameClass nameClass
NamespaceNameClass object that matchs this namespace.

namespaceURI

 String namespaceURI
namespace URI that this ExternalElementExp belongs to.

ruleName

 String ruleName
name of the imported Rule

rule

 ElementDecl rule
imported ElementDecl object that actually validates this element. this variable is set during binding phase.

Package com.sun.msv.relaxns.grammar.relax

Class com.sun.msv.relaxns.grammar.relax.AnyOtherElementExp extends ElementExp implements Serializable

serialVersionUID: 1L

Serialized Fields

nameClass

 NameClass nameClass
this name class matches all the namespaces that are accepted by this anyOtherElement. this field is set by bind method.

includeNamespace

 String includeNamespace

excludeNamespace

 String excludeNamespace

Class com.sun.msv.relaxns.grammar.relax.RELAXIslandSchema extends IslandSchemaImpl implements Serializable

Serialized Fields

module

 RELAXModule module
underlying RELAX module which this IslandSchema is representing

pendingAnyOtherElements

 Set pendingAnyOtherElements

Package com.sun.msv.relaxns.grammar.trex

Class com.sun.msv.relaxns.grammar.trex.TREXIslandSchema extends IslandSchemaImpl implements Serializable

Serialized Fields

grammar

 TREXGrammar grammar
underlying TREX pattern which this IslandSchema is representing

Package com.sun.msv.relaxns.verifier

Class com.sun.msv.relaxns.verifier.IslandSchemaImpl extends Object implements Serializable

Serialized Fields

elementDecls

 Map elementDecls
map from name to DeclImpl.

attributesDecls

 Map attributesDecls
map from name to DeclImpl.

Package com.sun.msv.util

Class com.sun.msv.util.StringPair extends Object implements Serializable

Serialized Fields

namespaceURI

 String namespaceURI

localName

 String localName