public String getId ( Node node ) { String id = null ; try { id = node . getIdentifier ( ) ; } catch ( RepositoryException e ) { id = node . toString ( ) ; // use Java 'ID' } return id ; }
Retrieves the nodes id .