public class AttributeFactory
extends java.lang.Object
| Constructor and Description |
|---|
AttributeFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Attribute |
make(java.util.Scanner scanner)
Processes a single attribute declaration, consisting of the keyword
&attribute, name, and either the keyword
numeric or a list of nominal values. |
public static Attribute make(java.util.Scanner scanner) throws java.lang.Exception
&attribute, name, and either the keyword
numeric or a list of nominal values.scanner - a scanner containing the attribute's tokensjava.lang.Exception - if a parse exception occurs