/**
* {@inheritDoc}
*/
public void process(RelationContainer relationContainer) {
Relation relation;
relation = relationContainer.getEntity();
for (RelationMember relationMember : relation.getMembers()) {
EntityType memberType;
memberType = relationMember.getMemberType();
if (EntityType.Node.equals(memberType)) {
if (!nodeBitSet.get(relationMember.getMemberId())) {
initialize();
write("Relation," + relation.getId() + ",Node," + relationMember.getMemberId());
writeNewLine();
}
} else if (EntityType.Way.equals(memberType)) {
if (!wayBitSet.get(relationMember.getMemberId())) {
initialize();
write("Relation," + relation.getId() + ",Way," + relationMember.getMemberId());
writeNewLine();
}
}
}
}