public TagReader<T> with(ContentReader... aMappers) { if (mappers == null) { mappers = new ArrayList<XmlReader>(); } mappers.addAll(0, Arrays.asList(aMappers)); return this; }
public TagReader<T> mappingPCDataTo(XmlReader aMapper) { if (mappers == null) { mappers = new ArrayList<XmlReader>(); } mappers.add(aMapper); return this; }
public TagReader<T> withPCDataMappedTo(final String aFieldName) { if (mappers == null) { mappers = new ArrayList<XmlReader>(); } mappers.add(new PCDataReader<T>(aFieldName)); return this; }
public Hobbit get(int anIndex) { return hobbits.get(anIndex); }
public int size() { return hobbits.size(); }
public void addHobbit(Hobbit aHobbit) { hobbits.add(aHobbit); }