private Triple getLocalizedTriple ( Triple triple ) { try { return _connector . getElementFactory ( ) . createTriple ( getLocalizedResource ( triple . getSubject ( ) ) , getLocalizedResource ( triple . getPredicate ( ) ) , getLocalizedObject ( triple . getObject ( ) ) ) ; } catch ( GraphElementFactoryException e ) { throw new RuntimeException ( "Error localizing triple" , e ) ; } }
Gets a Triple appropriate for writing to the store .