com.sun.msv.relaxns.grammar.relax

Class AnyOtherElementExp

public class AnyOtherElementExp extends ElementExp implements ElementDecl

place holder for <anyOtherElement> of RELAX.

Author: Kohsuke KAWAGUCHI

Field Summary
StringexcludeNamespace
StringincludeNamespace
NameClassnameClass
this name class matches all the namespaces that are accepted by this anyOtherElement. this field is set by bind method.
Locatorsource
where did this reference is written in the source file. can be set to null (to reduce memory usage) at anytime.
Constructor Summary
AnyOtherElementExp(Locator loc, String includeNamespace, String excludeNamespace)
creates "skelton" of AnyOtherElement. pseudo content model and name class must be supplied separately.
Method Summary
booleangetFeature(String feature)
StringgetName()
NameClassgetNameClass()
ObjectgetProperty(String property)

Field Detail

excludeNamespace

public final String excludeNamespace

includeNamespace

public final String includeNamespace

nameClass

public NameClass nameClass
this name class matches all the namespaces that are accepted by this anyOtherElement. this field is set by bind method.

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

AnyOtherElementExp

public AnyOtherElementExp(Locator loc, String includeNamespace, String excludeNamespace)
creates "skelton" of AnyOtherElement. pseudo content model and name class must be supplied separately.

Method Detail

getFeature

public boolean getFeature(String feature)

getName

public String getName()

getNameClass

public NameClass getNameClass()

getProperty

public Object getProperty(String property)