/*
* Copyright (C) Chaperon. All rights reserved.
* -------------------------------------------------------------------------
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package net.sourceforge.chaperon.model.extended;
import net.sourceforge.chaperon.model.Violations;
public class EndOfText extends Pattern
{
public boolean isNullable()
{
return false;
}
public PatternSet getFirstSet()
{
return null;
}
public PatternSet getLastSet()
{
return null;
}
public char[] getLimits()
{
return new char[0];
}
public boolean contains(char minimum, char maximum)
{
return false;
}
public boolean contains(char c)
{
return false;
}
public String getSymbol()
{
return null;
}
public Object clone()
{
return this;
}
public Violations validate()
{
return null;
}
public String toString()
{
return "$";
}
}
|