com.sun.msv.relaxns.grammar

Class ExternalAttributeExp

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

Field Summary
StringnamespaceURI
namespace URI that this object belongs to.
Stringrole
name of the imported AttributesDecl
Locatorsource
where did this reference is written in the source file. can be set to null (to reduce memory usage) at anytime.
Constructor Summary
ExternalAttributeExp(ExpressionPool pool, String namespaceURI, String role, Locator loc)

Field Detail

namespaceURI

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

role

public final String role
name of the imported AttributesDecl

source

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

Constructor Detail

ExternalAttributeExp

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