public JsonToken peek() { try { return reader.peek(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public Attribute getAttribute(String attribute) { if (entity == null) { throw new CukesRuntimeException("Entity was not loaded"); } return entity.get(attribute); }
public Attribute getAttribute(String attribute) { if (entity == null) { throw new CukesRuntimeException("Entity was not loaded"); } return entity.get(attribute); }
public String nextString() { try { return reader.nextString(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void nextName() { try { reader.nextName(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void beginObject() { try { reader.beginObject(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void endObject() { try { reader.endObject(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public String nextString() { try { return reader.nextString(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void beginObject() { try { reader.beginObject(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void nextName() { try { reader.nextName(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public boolean nextBoolean() { try { return reader.nextBoolean(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void nextNull() { try { reader.nextNull(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public boolean nextBoolean() { try { return reader.nextBoolean(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void endArray() { try { reader.endArray(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void close() { if (context != null) { try { context.close(); } catch (NamingException e) { throw new CukesRuntimeException(e); } } context = null; }
public void close() { try { reader.close(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void beginArray() { try { reader.beginArray(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void nextNull() { try { reader.nextNull(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void close() { try { reader.close(); } catch (IOException e) { throw new CukesRuntimeException(e); } }
public void beginArray() { try { reader.beginArray(); } catch (IOException e) { throw new CukesRuntimeException(e); } }