Examples of DOMFilterLifecycleEvent


Examples of org.milyn.event.types.DOMFilterLifecycleEvent

      throw new IllegalArgumentException("null 'writer' arg passed in method call.");
    }

        // Register the DOM phase events...
        if(eventListener != null) {
            eventListener.onEvent(new DOMFilterLifecycleEvent(DOMFilterLifecycleEvent.DOMEventType.SERIALIZATION_STARTED));
        }

        if(node instanceof Document) {
      Document doc = (Document)node;
      Element rootElement = doc.getDocumentElement();
View Full Code Here

Examples of org.milyn.event.types.DOMFilterLifecycleEvent

        globalAssemblyBefores = visitBefores.getMappings(GLOBAL_SELECTORS);
        globalAssemblyAfters = visitAfters.getMappings(GLOBAL_SELECTORS);

        // Register the DOM phase events...
        if (eventListener != null) {
            eventListener.onEvent(new DOMFilterLifecycleEvent(DOMFilterLifecycleEvent.DOMEventType.ASSEMBLY_STARTED));
        }

        // Apply assembly phase, skipping it if there are no configured assembly units...
        if (applyAssembly(visitBefores, visitAfters)) {
            // Assemble
            if (logger.isDebugEnabled()) {
                logger.debug("Starting assembly phase [" + executionContext.getTargetProfiles().getBaseProfile() + "]");
            }
            assemble(element, true);
        } else {
            if (logger.isDebugEnabled()) {
                logger.debug("No assembly units configured for device [" + executionContext.getTargetProfiles().getBaseProfile() + "]");
            }
        }

        // Register the DOM phase events...
        if (eventListener != null) {
            eventListener.onEvent(new DOMFilterLifecycleEvent(DOMFilterLifecycleEvent.DOMEventType.PROCESSING_STARTED));
        }

        // Apply processing phase...
        if (logger.isDebugEnabled()) {
            logger.debug("Starting processing phase [" + executionContext.getTargetProfiles().getBaseProfile() + "]");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.