- Common ways to obtain VisitPhase
private void myMethod () {}
} else { Phase phaseAnnotation = visitor.getClass().getAnnotation(Phase.class); String visitPhase = resourceConfig.getStringParameter("VisitPhase", VisitPhase.PROCESSING.toString()); domAssemblyVisitAfters.addMapping(elementName, resourceConfig, (DOMVisitAfter) visitor); } else if (visitPhase.equalsIgnoreCase(VisitPhase.ASSEMBLY.toString())) {
} else { Phase phaseAnnotation = visitor.getClass().getAnnotation(Phase.class); String visitPhase = resourceConfig.getStringParameter("VisitPhase", VisitPhase.PROCESSING.toString()); domAssemblyVisitAfters.addMapping(elementName, resourceConfig, (DOMVisitAfter) visitor); } else if (visitPhase.equalsIgnoreCase(VisitPhase.ASSEMBLY.toString())) {
} else { Phase phaseAnnotation = visitor.getClass().getAnnotation(Phase.class); String visitPhase = resourceConfig.getStringParameter("VisitPhase", VisitPhase.PROCESSING.toString()); domAssemblyVisitAfters.addMapping(elementName, resourceConfig, (DOMVisitAfter) visitor); } else if (visitPhase.equalsIgnoreCase(VisitPhase.ASSEMBLY.toString())) {
} else { Phase phaseAnnotation = visitor.getClass().getAnnotation(Phase.class); String visitPhase = resourceConfig.getStringParameter("VisitPhase", VisitPhase.PROCESSING.toString()); domAssemblyVisitAfters.addMapping(elementName, resourceConfig, (DOMVisitAfter) visitor); } else if (visitPhase.equalsIgnoreCase(VisitPhase.ASSEMBLY.toString())) {