/** {@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 */
Ejemplo n.º 2
0
 @Override
 public void visit(CollectionSetVisitor visitor) {
   visitor.visitCollectionSet(this);
   m_collectionResource.visit(visitor);
   visitor.completeCollectionSet(this);
 }