ix.util.xml
Class BNFSyntax.TemplateInstance
java.lang.Object
ix.util.xml.BNFSyntax.RHS
ix.util.xml.BNFSyntax.Instance
ix.util.xml.BNFSyntax.TemplateInstance
- Direct Known Subclasses:
- BNFSyntax.ConstraintTemplate, BNFSyntax.MapEntryInstance
- Enclosing class:
- BNFSyntax
abstract class BNFSyntax.TemplateInstance
- extends BNFSyntax.Instance
An instance that's already XML in the form of a JDOM Element.
It can be used only as an element, not as a value.
TemplateInstances allow us to have grammar rules that aren't
just derived from class definitions.
Field Summary |
(package private) org.jdom.Element |
template
|
Method Summary |
(package private) java.lang.String |
asElement()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
template
org.jdom.Element template
BNFSyntax.TemplateInstance
BNFSyntax.TemplateInstance()
BNFSyntax.TemplateInstance
BNFSyntax.TemplateInstance(org.jdom.Element template)
asElement
java.lang.String asElement()
- Overrides:
asElement
in class BNFSyntax.Instance