public RemoteXPathQueryService( CollectionImpl collection ) {
public RemoteXPathQueryService( RemoteCollection collection ) {
    public RemoteXPathQueryService( CollectionImpl collection ) {        this.collection = collection;    }