com.sun.msv.relaxns.grammar

Class ExternalAttributeExp

Implemented Interfaces:
Serializable

public class ExternalAttributeExp
extends OtherExp

place holder for imported attributes declaration. This class also provides stub methods so that programs who are not aware to divide&validate can gracefully degrade.

In MSV, importing AttributesDecl from different implementations is not supported. ExternalAttributeExp is always replaced by their target Expression before validation.

Author:
Kohsuke KAWAGUCHI
See Also:
Serialized Form

Field Summary

String
namespaceURI
namespace URI that this object belongs to.
String
role
name of the imported AttributesDecl
Locator
source
where did this reference is written in the source file.

Fields inherited from class com.sun.msv.grammar.OtherExp

exp

Fields inherited from class com.sun.msv.grammar.Expression

anyString, epsilon, nullSet, verifierTag

Constructor Summary

ExternalAttributeExp(ExpressionPool pool, String namespaceURI, String role, Locator loc)

Method Summary

Methods inherited from class com.sun.msv.grammar.OtherExp

equals, printName, visit, visit, visit, visit

Methods inherited from class com.sun.msv.grammar.Expression

equals, getExpandedExp, hashCode, isEpsilonReducible, peelOccurence, visit, visit, visit, visit, visit, visit, visit, visit

Field Details

namespaceURI

public final String namespaceURI
namespace URI that this object belongs to.

role

public final String role
name of the imported AttributesDecl

source

public Locator source
where did this reference is written in the source file. can be set to null (to reduce memory usage) at anytime.

Constructor Details

ExternalAttributeExp

public ExternalAttributeExp(ExpressionPool pool,
                            String namespaceURI,
                            String role,
                            Locator loc)