org.overlord.sramp.common.visitors
Class ArtifactVisitorHelper

java.lang.Object
  extended by org.overlord.sramp.common.visitors.ArtifactVisitorHelper

public final class ArtifactVisitorHelper
extends Object

Helper class used to visit S-RAMP artifacts. This should be replaced by "accept" methods implemented on each of the generated S-RAMP artifact classes. I think there might be a jax-b plugin that will do that, but I haven't checked into yet. This is important because currently the order of the instanceof checks below is vital to the proper visiting of the artifact, which is not ideal.

Author:
eric.wittmann@redhat.com

Constructor Summary
ArtifactVisitorHelper()
           
 
Method Summary
static void visitArtifact(ArtifactVisitor visitor, BaseArtifactType artifact)
          Called to help the given visitor visit the provided artifact.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactVisitorHelper

public ArtifactVisitorHelper()
Method Detail

visitArtifact

public static void visitArtifact(ArtifactVisitor visitor,
                                 BaseArtifactType artifact)
Called to help the given visitor visit the provided artifact.

Parameters:
visitor -
artifact -


Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.