Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ix.util.xml
Class BNFSyntax.Instance

    java.lang.Object
      ix.util.xml.BNFSyntax.RHS
          ix.util.xml.BNFSyntax.Instance

Direct Known Subclasses:
  BNFSyntax.CollectionInstance, BNFSyntax.Literal, BNFSyntax.Nonterminal, BNFSyntax.SimpleInstance, BNFSyntax.StructInstance, BNFSyntax.TemplateInstance

Enclosing class:
  BNFSyntax

    abstract class BNFSyntax.Instance

extends BNFSyntax.RHS

A RHS that describes an instance of a class.

An instance can be used simply to represent a value. In such cases, it will be printed as the name of a nonterminal or as a simple literal value. For example "STRING" could be printed to indicate that a string could appear in place of "STRING".

Some instances can also be printed as a description of an XML element.

Constructor Summary
`BNFSyntax.Instance()`

Method Summary
`(package private) java.lang.String` | `asElement()`
`(package private) java.lang.String` | `asValue()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BNFSyntax.Instance

    BNFSyntax.Instance()

Method Detail

### asValue

    java.lang.String asValue()

### asElement

    java.lang.String asElement()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD