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