public class DeclImpl extends Object implements ElementDecl, AttributesDecl, Serializable
| Modifier and Type | Field and Description |
|---|---|
Expression |
exp
"meat" of this Rule.
|
protected String |
name
name of this rule
|
| Constructor and Description |
|---|
DeclImpl(ReferenceExp exp) |
DeclImpl(String name,
Expression exp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(String feature)
looks up the value of a feature
this method works like getFeature method of SAX.
|
String |
getName()
gets name of this rule.
|
Object |
getProperty(String property)
looks up the value of a property
this method works like getProperty method of SAX.
|
public final Expression exp
protected final String name
public DeclImpl(ReferenceExp exp)
public DeclImpl(String name, Expression exp)
public String getName()
ElementDeclgetName in interface AttributesDeclgetName in interface ElementDeclpublic boolean getFeature(String feature) throws SAXNotRecognizedException
ElementDeclgetFeature in interface AttributesDeclgetFeature in interface ElementDeclSAXNotRecognizedExceptionpublic Object getProperty(String property) throws SAXNotRecognizedException
ElementDeclgetProperty in interface AttributesDeclgetProperty in interface ElementDeclSAXNotRecognizedExceptionCopyright © 2017 Oracle Corporation. All rights reserved.