org.codehaus.mojo.antlr.options
Class Grammar

java.lang.Object
  extended by 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
Grammar()
           
 
Method Summary
 boolean equals(Object other)
          Method equals
 String getGlib()
          Get Colon separated or semicolon separated supergrammar file names.
 String getModelEncoding()
           
 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 setModelEncoding(String modelEncoding)
           
 void setName(String name)
          Set The grammar file name.
 String toString()
          Method toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Grammar

public Grammar()
Method Detail

equals

public boolean equals(Object other)
Method equals

Overrides:
equals in class Object
Parameters:
other -

getGlib

public String getGlib()
Get Colon separated or semicolon separated supergrammar file names.


getName

public String getName()
Get The grammar file name.


hashCode

public int hashCode()
Method hashCode

Overrides:
hashCode in class Object

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 -

toString

public String toString()
Method toString

Overrides:
toString in class Object

setModelEncoding

public void setModelEncoding(String modelEncoding)

getModelEncoding

public String getModelEncoding()


Copyright © 2004-2008 Codehaus. All Rights Reserved.