Update XStreamBuilderImpl.java

Reverting recursive visibility to private and add method to return actual value