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

public Class DeclImpl

extends Object
implements ElementDecl, AttributesDecl, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.iso_relax.dispatcher.AttributesDecl, org.iso_relax.dispatcher.ElementDecl
Annotations
@SuppressWarnings:serial
Imports
org.xml.sax.SAXNotRecognizedException, com.sun.msv.grammar.Expression, .ReferenceExp

Implementation of ElementDecl interface by MSV grammar model.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
public final Expression
exp

"meat" of this Rule.

protected final String
name

name of this rule

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public boolean
getFeature(String feature)

Implements org.iso_relax.dispatcher.ElementDecl.getFeature, org.iso_relax.dispatcher.AttributesDecl.getFeature.

looks up the value of a feature this method works like getFeature method of SAX.
public String
public Object
getProperty(String property)

Implements org.iso_relax.dispatcher.ElementDecl.getProperty, org.iso_relax.dispatcher.AttributesDecl.getProperty.

looks up the value of a property this method works like getProperty method of SAX.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

expback to summary
public final Expression exp

"meat" of this Rule.

nameback to summary
protected final String name

name of this rule

Constructor Detail

DeclImplback to summary
public DeclImpl(ReferenceExp exp)
DeclImplback to summary
public DeclImpl(String name, Expression exp)

Method Detail

getFeatureback to summary
public boolean getFeature(String feature) throws SAXNotRecognizedException

Implements org.iso_relax.dispatcher.ElementDecl.getFeature, org.iso_relax.dispatcher.AttributesDecl.getFeature.

Doc from org.iso_relax.dispatcher.ElementDecl.getFeature.

looks up the value of a feature this method works like getFeature method of SAX. featureName is a fully-qualified URI. Implementators are encouraged to invent their own features, by using their own URIs.

getNameback to summary
public String getName()

Implements org.iso_relax.dispatcher.ElementDecl.getName, org.iso_relax.dispatcher.AttributesDecl.getName.

Doc from org.iso_relax.dispatcher.ElementDecl.getName.

gets name of this rule. every ElementDecl has a unique name within the schema.

getPropertyback to summary
public Object getProperty(String property) throws SAXNotRecognizedException

Implements org.iso_relax.dispatcher.ElementDecl.getProperty, org.iso_relax.dispatcher.AttributesDecl.getProperty.

Doc from org.iso_relax.dispatcher.ElementDecl.getProperty.

looks up the value of a property this method works like getProperty method of SAX. propertyName is a fully-qualified URI. Implementators are encouraged to invent their own properties, by using their own URIs.