EndOfText.java :  » Parser » chaperon-3.0 » net » sourceforge » chaperon » model » extended » Java Open Source

Java Open Source » Parser » chaperon 3.0 
chaperon 3.0 » net » sourceforge » chaperon » model » extended » EndOfText.java
/*
 *  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 "$";
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.