Package org.codehaus.mojo.antlr.options
Class Grammar
- java.lang.Object
-
- org.codehaus.mojo.antlr.options.Grammar
-
- All Implemented Interfaces:
Serializable
public class Grammar extends Object implements Serializable
A Grammar parameter.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Grammar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)Method equals.StringgetGlib()Get colon separated or semicolon separated supergrammar file names.StringgetName()Get the grammar file name.inthashCode()Method hashCode.voidsetGlib(String glib)Set colon separated or semicolon separated supergrammar file names.voidsetName(String name)Set the grammar file name.StringtoString()Method toString.
-
-
-
Method Detail
-
equals
public boolean equals(Object other)
Method equals.
-
getGlib
public String getGlib()
Get colon separated or semicolon separated supergrammar file names.- Returns:
- String
-
getName
public String getName()
Get the grammar file name.- Returns:
- String
-
setGlib
public void setGlib(String glib)
Set colon separated or semicolon separated supergrammar file names.- Parameters:
glib-
-
setName
public void setName(String name)
Set the grammar file name.- Parameters:
name-
-
-