com.sun.msv.relaxns.grammar

Class ExternalElementExp

public class ExternalElementExp extends ElementExp

place holder for imported element declaration. This class derives ElementExp because "elementDecl" is a constraint over one element. This class also provides stub methods so that programs who are not aware to divide&validate can gracefully degrade.

Author: Kohsuke KAWAGUCHI

Field Summary
StringnamespaceURI
namespace URI that this ExternalElementExp belongs to.
ElementDeclrule
imported ElementDecl object that actually validates this element. this variable is set during binding phase.
StringruleName
name of the imported Rule
Locatorsource
where did this reference is written in the source file. can be set to null (to reduce memory usage) at anytime.
Constructor Summary
ExternalElementExp(ExpressionPool pool, String namespaceURI, String ruleName, Locator loc)
Method Summary
NameClassgetNameClass()

Field Detail

namespaceURI

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

rule

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

ruleName

public final String ruleName
name of the imported Rule

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

ExternalElementExp

public ExternalElementExp(ExpressionPool pool, String namespaceURI, String ruleName, Locator loc)

Method Detail

getNameClass

public NameClass getNameClass()