net.sourceforge.chaperon.model.pattern
Class Concatenation

java.lang.Object
  extended by net.sourceforge.chaperon.model.pattern.Pattern
      extended by net.sourceforge.chaperon.model.pattern.PatternList
          extended by net.sourceforge.chaperon.model.pattern.Concatenation
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Concatenation
extends PatternList

This class represents a concatenation of pattern.

Version:
CVS $Id: Concatenation.java,v 1.3 2003/12/09 19:55:52 benedikta Exp $
Author:
Stephan Michels
See Also:
Serialized Form

Constructor Summary
Concatenation()
          Create a pattern for a concatenation of pattern.
 
Method Summary
 java.lang.Object clone()
          Create a clone of this pattern.
 java.lang.String toString()
          Return a string representation of this pattern
 Violations validate()
          Validates this pattern.
 
Methods inherited from class net.sourceforge.chaperon.model.pattern.PatternList
addPattern, getPattern, getPatternCount
 
Methods inherited from class net.sourceforge.chaperon.model.pattern.Pattern
getLocation, getMaxOccurs, getMinOccurs, setLocation, setMaxOccurs, setMinOccurs
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Concatenation

public Concatenation()
Create a pattern for a concatenation of pattern.

Method Detail

toString

public java.lang.String toString()
Return a string representation of this pattern

Overrides:
toString in class java.lang.Object
Returns:
String representation of the pattern.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Create a clone of this pattern.

Specified by:
clone in class Pattern
Returns:
Clone of this pattern.
Throws:
java.lang.CloneNotSupportedException - If an exception occurs during the cloning.

validate

public Violations validate()
Validates this pattern.

Specified by:
validate in class Pattern
Returns:
Return a list of violations, if this pattern isn't valid.


Copyright ? 2003 Chaperon project. All Rights Reserved.