com.sun.msv.relaxns.grammar
Class DeclImpl
java.lang.Object
com.sun.msv.relaxns.grammar.DeclImpl
- All Implemented Interfaces:
- java.io.Serializable, AttributesDecl, ElementDecl
public class DeclImpl
- extends java.lang.Object
- implements ElementDecl, AttributesDecl, java.io.Serializable
Implementation of ElementDecl interface by MSV grammar model.
- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
Method Summary |
boolean |
getFeature(java.lang.String feature)
|
java.lang.String |
getName()
|
java.lang.Object |
getProperty(java.lang.String property)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exp
public final Expression exp
- "meat" of this Rule.
DeclImpl
public DeclImpl(ReferenceExp exp)
DeclImpl
public DeclImpl(java.lang.String name,
Expression exp)
getName
public java.lang.String getName()
- Specified by:
getName
in interface AttributesDecl
- Specified by:
getName
in interface ElementDecl
getFeature
public boolean getFeature(java.lang.String feature)
throws org.xml.sax.SAXNotRecognizedException
- Specified by:
getFeature
in interface AttributesDecl
- Specified by:
getFeature
in interface 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 interface AttributesDecl
- Specified by:
getProperty
in interface ElementDecl
- Throws:
org.xml.sax.SAXNotRecognizedException