Examples of SAXEventType


Examples of com.volantis.xml.sax.recorder.impl.recording.events.SAXEventType

                == SAXRecordingImpl.RECORD_PER_EVENT_LOCATION) {

            playPerEventLocation = true;
        }

        SAXEventType eventType;
        do {

            eventType = nextEventType();

            if (eventType.supportsLocation() && playPerEventLocation) {
                if (LOGGER.isDebugEnabled()) {
                    LOGGER.debug("reading location information");
                }
                locator.setPublicId(nextString());
                locator.setSystemId(nextString());
                locator.setLineNumber(nextInt());
                locator.setColumnNumber(nextInt());
                if (LOGGER.isDebugEnabled()) {
                    LOGGER.debug("finished reading location information");
                }
            }

            eventType.play(this);
        } while (eventType != SAXEventType.END_RECORDING);
    }
View Full Code Here

Examples of com.volantis.xml.sax.recorder.impl.recording.events.SAXEventType

     * Get the next event type from the recording.
     *
     * @return The next event type.
     */
    private SAXEventType nextEventType() {
        SAXEventType eventType = recording.getEventType(nextIntIndex);
        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("intIndex="+nextIntIndex+" Event " + eventType.toString());
        }
        nextIntIndex += 1;
        return eventType;
    }
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.