/** {@inheritDoc} */ public void visit(CollectionSetVisitor visitor) { log() .debug( "XmpCollectionResource: visit starting with " + getGroups().size() + " attribute groups"); visitor.visitResource(this); // visit the attribute groups one at a time for (AttributeGroup ag : getGroups()) { ag.visit(visitor); } visitor.completeResource(this); log().debug("XmpCollectionResource: visit finished for " + agent); } /* visit */
@Override public void visit(CollectionSetVisitor visitor) { visitor.visitCollectionSet(this); m_collectionResource.visit(visitor); visitor.completeCollectionSet(this); }