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 Expressionexp"meat" of this Rule.protected Stringnamename 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 booleangetFeature(String feature)StringgetName()ObjectgetProperty(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:
getNamein interfaceorg.iso_relax.dispatcher.AttributesDecl- Specified by:
getNamein interfaceorg.iso_relax.dispatcher.ElementDecl
-
getFeature
public boolean getFeature(String feature) throws SAXNotRecognizedException
- Specified by:
getFeaturein interfaceorg.iso_relax.dispatcher.AttributesDecl- Specified by:
getFeaturein interfaceorg.iso_relax.dispatcher.ElementDecl- Throws:
SAXNotRecognizedException
-
getProperty
public Object getProperty(String property) throws SAXNotRecognizedException
- Specified by:
getPropertyin interfaceorg.iso_relax.dispatcher.AttributesDecl- Specified by:
getPropertyin interfaceorg.iso_relax.dispatcher.ElementDecl- Throws:
SAXNotRecognizedException
-
-