com.codethesis.pgnparse
Class PGNMove

java.lang.Object
  extended by com.codethesis.pgnparse.PGNMove

public class PGNMove
extends java.lang.Object

Author:
Deyan Rizov

Method Summary
 Color getColor()
           
 java.lang.String getComment()
           
 java.lang.String getEndGameMark()
           
 java.lang.String getEnpassantPieceSquare()
           
 java.lang.String getFromSquare()
           
 java.lang.String getFullMove()
           
 java.lang.String getMove()
           
 java.lang.String getPiece()
           
 java.lang.String getPromotion()
           
 java.lang.String getToSquare()
           
 boolean isCaptured()
           
 boolean isCastle()
           
 boolean isChecked()
           
 boolean isCheckMated()
           
 boolean isEndGameMarked()
           
 boolean isEnpassant()
           
 boolean isEnpassantCapture()
           
 boolean isKingSideCastle()
           
 boolean isPromoted()
           
 boolean isQueenSideCastle()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getComment

public java.lang.String getComment()
Returns:
the comment

getMove

public java.lang.String getMove()
Returns:
the move

getFullMove

public java.lang.String getFullMove()
Returns:
the fullMove

getFromSquare

public java.lang.String getFromSquare()
Returns:
the fromSquare

getToSquare

public java.lang.String getToSquare()
Returns:
the toSquare

getPiece

public java.lang.String getPiece()
Returns:
the piece

getColor

public Color getColor()
Returns:
the color

isChecked

public boolean isChecked()
Returns:
the checked

isCaptured

public boolean isCaptured()
Returns:
the captured

isPromoted

public boolean isPromoted()
Returns:
the promoted

getPromotion

public java.lang.String getPromotion()
Returns:
the promotion

isEndGameMarked

public boolean isEndGameMarked()
Returns:
the endGameMarked

getEndGameMark

public java.lang.String getEndGameMark()
Returns:
the endGameMark

isCheckMated

public boolean isCheckMated()
Returns:
the checkMated

isKingSideCastle

public boolean isKingSideCastle()
Returns:
the kingSideCastle

isQueenSideCastle

public boolean isQueenSideCastle()
Returns:
the queenSideCastle

isCastle

public boolean isCastle()
Returns:

isEnpassant

public boolean isEnpassant()
Returns:
the enpassant

isEnpassantCapture

public boolean isEnpassantCapture()
Returns:
the enpassantCapture

getEnpassantPieceSquare

public java.lang.String getEnpassantPieceSquare()
Returns:
the enpassantPieceSquare