public static boolean isVersion ( Node node ) { try { if ( node . isNodeType ( "nt:version" ) ) return true ; return false ; } catch ( RepositoryException exc ) { LOG . error ( exc . getMessage ( ) , exc ) ; return false ; } }
If the node is version .