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 equalsStringgetGlib()Get Colon separated or semicolon separated supergrammar file names.StringgetModelEncoding()StringgetName()Get The grammar file name.inthashCode()Method hashCodevoidsetGlib(String glib)Set Colon separated or semicolon separated supergrammar file names.voidsetModelEncoding(String modelEncoding)voidsetName(String name)Set The grammar file name.StringtoString()Method toString
-
-
-
Method Detail
-
getGlib
public String getGlib()
Get Colon separated or semicolon separated supergrammar file names.
-
setGlib
public void setGlib(String glib)
Set Colon separated or semicolon separated supergrammar file names.- Parameters:
glib-
-
getName
public String getName()
Get The grammar file name.
-
setName
public void setName(String name)
Set The grammar file name.- Parameters:
name-
-
equals
public boolean equals(Object other)
Method equals
-
setModelEncoding
public void setModelEncoding(String modelEncoding)
-
getModelEncoding
public String getModelEncoding()
-
-