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

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Throws:
IOException
Serialized Fields

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<K,V> 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.EmptyStringType extends com.sun.msv.datatype.xsd.BuiltinAtomicType implements Serializable

serialVersionUID: 1L

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.NoneType extends com.sun.msv.datatype.xsd.BuiltinAtomicType implements Serializable

serialVersionUID: 1L

Class com.sun.msv.grammar.relax.RELAXModule extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

elementRules

RELAXModule.ElementRulesContainer elementRules
map from label name to ElementRules object


hedgeRules

RELAXModule.HedgeRulesContainer hedgeRules
map from label name to HedgeRules object


tags

RELAXModule.TagContainer tags
map from role name to TagClause object


attPools

RELAXModule.AttPoolContainer attPools
map from role name to AttPoolClause object


targetNamespace

String targetNamespace
target namespace URI


datatypes

RELAXModule.DatatypeContainer datatypes

topLevel

Expression topLevel
chioce of all exported elementRules and hedgeRules. This can be used as the top-level expression when a module is used to validate documents by itself.


pool

ExpressionPool pool
ExpressionPool object which was used to create this module.

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

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

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

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

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


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.

See Also:
ComplexTypeExp.simpleBaseType

simpleBaseType

XSDatatypeExp simpleBaseType
base type of this complex type.

See Also:
ComplexTypeExp.complexBaseType

derivationMethod

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

See Also:
#simpleBaseType

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
gets the nillable property of this component as specified in the spec.


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

Serialized Fields

elementName

SimpleNameClass elementName

identityConstraints

Vector<E> identityConstraints
identity constraints associated to this declaration. When no constraint exists, this field may be null (or empty vector). Items are of derived types of IdentityConstraint class.

These identity constraints are not enforced by the default Verifier implementation.


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<E> 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.XMLSchemaGrammar extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

pool

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


topLevel

Expression topLevel

schemata

Map<K,V> schemata
map from namespace URI to loaded XMLSchemaSchema object.

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

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

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

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

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

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

Serialized Fields

storage

Map<K,V> storage

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

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

Class com.sun.msv.reader.AbortException extends Exception implements Serializable


Package com.sun.msv.reader.datatype

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

Serialized Fields

impl

Map<K,V> 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

Serialized Fields

namespaceUri

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


dt

com.sun.msv.datatype.xsd.XSDatatype dt
Datatype object wrapped by this expression. This field can be null if the datatype object is not available at this moment (say, because of the forward reference). In this case, XSDatatypeExp.ownerState and XSDatatypeExp.renderer fields are available.


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

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

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.

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

Serialized Fields

moduleMap

Map<K,V> moduleMap
map from namespace URI to IslandSchema. All modules are stored in this map.

See Also:
IslandSchema

topLevel

Expression topLevel
top-level expression


pool

ExpressionPool pool
expression pool that was used to create these objects


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

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

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<E> 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<K,V> elementDecls
map from name to DeclImpl.


attributesDecls

Map<K,V> 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

Package com.sun.msv.verifier

Class com.sun.msv.verifier.ValidationUnrecoverableException extends SAXParseException implements Serializable

Class com.sun.msv.verifier.ValidityViolation extends SAXParseException implements Serializable

Serialized Fields

errorInfo

ErrorInfo errorInfo

Package com.sun.msv.verifier.psvi

Class com.sun.msv.verifier.psvi.TypeDetector.AmbiguousDocumentException extends SAXException implements Serializable


Package com.sun.msv.writer

Class com.sun.msv.writer.SAXRuntimeException extends RuntimeException implements Serializable

Serialized Fields

e

SAXException e