com.sun.msv.relaxns.grammar
Class DeclImpl

java.lang.Object
  |
  +--com.sun.msv.relaxns.grammar.DeclImpl
All Implemented Interfaces:
AttributesDecl, ElementDecl, Serializable

public class DeclImpl
extends Object
implements ElementDecl, AttributesDecl, Serializable

Implementation of ElementDecl interface by MSV grammar model.

Author:
Kohsuke KAWAGUCHI
See Also:
Serialized Form

Field Summary
 Expression exp
          "meat" of this Rule.
 
Constructor Summary
DeclImpl(ReferenceExp exp)
           
DeclImpl(String name, Expression exp)
           
 
Method Summary
 boolean getFeature(String feature)
           
 String getName()
           
 Object getProperty(String property)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exp

public final Expression exp
"meat" 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 interface ElementDecl

getFeature

public boolean getFeature(String feature)
                   throws SAXNotRecognizedException
Specified by:
getFeature in interface ElementDecl

getProperty

public Object getProperty(String property)
                   throws SAXNotRecognizedException
Specified by:
getProperty in interface ElementDecl