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 boolean
equals(Object other)
Method equals.String
getGlib()
Get colon separated or semicolon separated supergrammar file names.String
getName()
Get the grammar file name.int
hashCode()
Method hashCode.void
setGlib(String glib)
Set colon separated or semicolon separated supergrammar file names.void
setName(String name)
Set the grammar file name.String
toString()
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
-
-
-