Top Description Fields Constructors Methods
com.sun.msv.relaxns.grammar

public Class ExternalAttributeExp

extends OtherExp
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.xml.sax.Locator, com.sun.msv.grammar.Expression, .ExpressionPool, .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

Modifier and TypeField and Description
public final String
namespaceURI

namespace URI that this object belongs to.

public final String
role

name of the imported AttributesDecl

public transient Locator
source

where did this reference is written in the source file.

Inherited from com.sun.msv.grammar.OtherExp:
exp

Constructor Summary

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

Method Summary

Inherited from com.sun.msv.grammar.OtherExp:
calcEpsilonReducibilitycalcHashCodeequalsprintNamevisitvisitvisitvisit

Field Detail

namespaceURIback to summary
public final String namespaceURI

namespace URI that this object belongs to.

roleback to summary
public final String role

name of the imported AttributesDecl

sourceback to summary
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

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