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 void addHobbit(Hobbit aHobbit) { hobbits.add(aHobbit); }