Package com.sun.msv.relaxns.grammar
Class DeclImpl
- java.lang.Object
-
- com.sun.msv.relaxns.grammar.DeclImpl
-
- All Implemented Interfaces:
Serializable
,org.iso_relax.dispatcher.AttributesDecl
,org.iso_relax.dispatcher.ElementDecl
public class DeclImpl extends Object implements org.iso_relax.dispatcher.ElementDecl, org.iso_relax.dispatcher.AttributesDecl, Serializable
Implementation of ElementDecl interface by MSV grammar model.- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Expression
exp
"meat" of this Rule.protected String
name
name of this rule
-
Constructor Summary
Constructors Constructor Description DeclImpl(ReferenceExp exp)
DeclImpl(String name, Expression exp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getFeature(String feature)
String
getName()
Object
getProperty(String property)
-
-
-
Field Detail
-
exp
public final Expression exp
"meat" of this Rule.
-
name
protected final String name
name of this rule
-
-
Constructor Detail
-
DeclImpl
public DeclImpl(ReferenceExp exp)
-
DeclImpl
public DeclImpl(String name, Expression exp)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.iso_relax.dispatcher.AttributesDecl
- Specified by:
getName
in interfaceorg.iso_relax.dispatcher.ElementDecl
-
getFeature
public boolean getFeature(String feature) throws SAXNotRecognizedException
- Specified by:
getFeature
in interfaceorg.iso_relax.dispatcher.AttributesDecl
- Specified by:
getFeature
in interfaceorg.iso_relax.dispatcher.ElementDecl
- Throws:
SAXNotRecognizedException
-
getProperty
public Object getProperty(String property) throws SAXNotRecognizedException
- Specified by:
getProperty
in interfaceorg.iso_relax.dispatcher.AttributesDecl
- Specified by:
getProperty
in interfaceorg.iso_relax.dispatcher.ElementDecl
- Throws:
SAXNotRecognizedException
-
-