private boolean isForwardAxis ( ) { final String content = mToken . getContent ( ) ; return ( mToken . getType ( ) == TokenType . TEXT && ( "child" . equals ( content ) || ( "descendant" . equals ( content ) || "descendant-or-self" . equals ( content ) || "attribute" . equals ( content ) || "self" . equals ( content ) || "following" . equals ( content ) || "following-sibling" . equals ( content ) || "namespace" . equals ( content ) ) ) ) ; }
Checks if a given token represents a ForwardAxis .