Examples of SaxEventRecorder


Examples of ch.qos.logback.core.joran.event.SaxEventRecorder

  @Override
  public void begin(InterpretationContext ec, String name, Attributes attributes)
      throws ActionException {

    SaxEventRecorder recorder = new SaxEventRecorder();
   
    this.attributeInUse = null;

    if (!checkAttributes(attributes)) {
      return;
View Full Code Here

Examples of ch.qos.logback.core.joran.event.SaxEventRecorder

    addImplicitRules(interpreter);
  }

  final public void doConfigure(final InputSource inputSource)
      throws JoranException {
    SaxEventRecorder recorder = new SaxEventRecorder();
    recorder.setContext(context);
    recorder.recordEvents(inputSource);
    buildInterpreter();
    // disallow simultaneous configurations of the same context
    synchronized (context) {
      interpreter.play(recorder.saxEventList);
    }
View Full Code Here

Examples of ch.qos.logback.core.joran.event.SaxEventRecorder

  @Override
  public void begin(InterpretationContext ec, String name, Attributes attributes)
          throws ActionException {

    SaxEventRecorder recorder = new SaxEventRecorder(context);

    this.attributeInUse = null;
    this.optional = OptionHelper.toBoolean(attributes.getValue(OPTIONAL_ATTR), false);

    if (!checkAttributes(attributes)) {
View Full Code Here

Examples of ch.qos.logback.core.joran.event.SaxEventRecorder

    long threshold = System.currentTimeMillis();
    if (!ConfigurationWatchListUtil.wasConfigurationWatchListReset(context)) {
      informContextOfURLUsedForConfiguration(getContext(), null);
    }
    SaxEventRecorder recorder = new SaxEventRecorder(context);
    recorder.recordEvents(inputSource);
    doConfigure(recorder.saxEventList);
    // no exceptions a this level
    StatusUtil statusUtil = new StatusUtil(context);
    if (statusUtil.noXMLParsingErrorsOccurred(threshold)) {
      addInfo("Registering current configuration as safe fallback point");
View Full Code Here

Examples of ch.qos.logback.core.joran.event.SaxEventRecorder

  @Override
  public void begin(InterpretationContext ec, String name, Attributes attributes)
      throws ActionException {

    SaxEventRecorder recorder = new SaxEventRecorder();

    this.attributeInUse = null;

    if (!checkAttributes(attributes)) {
      return;
View Full Code Here

Examples of ch.qos.logback.core.joran.event.SaxEventRecorder

    long threshold = System.currentTimeMillis();
    if (!ConfigurationWatchListUtil.wasConfigurationWatchListReset(context)) {
      informContextOfURLUsedForConfiguration(getContext(), null);
    }
    SaxEventRecorder recorder = new SaxEventRecorder();
    recorder.setContext(context);
    recorder.recordEvents(inputSource);
    doConfigure(recorder.saxEventList);
    // no exceptions a this level
    StatusChecker statusChecker = new StatusChecker(context);
    if(statusChecker.noXMLParsingErrorsOccurred(threshold)) {
      addInfo("Registering current configuration as safe fallback point");
View Full Code Here

Examples of com.volantis.mcs.eclipse.ab.editors.xml.schema.recorder.SAXEventRecorder

                                "Undefined element group reference " +
                                        attributes.getValue(REF_ATTRIBUTE));
                    } else {
                        SAXRecorderFactory recorderFactory =
                                SAXRecorderFactory.getDefaultInstance();
                        recorder = new SAXEventRecorder();
                        recorder.startElement(SchemaConstants.NAMESPACE_URI,
                                ELEMENT_GROUP_NAME, qName, attributes);
                    }
                }
            } else {
View Full Code Here

Examples of com.volantis.mcs.eclipse.ab.editors.xml.schema.recorder.SAXEventRecorder

    private void processEndSchema() throws SAXException {
        // If we've reached the end of the schema successfully, then no action
        // is required. If we've been recording events to allow groups to be
        // completed, then now is the time to play back those events.
        if (recorder != null) {
            SAXEventRecorder localRecorder = recorder;
            recorder = null;
            groupsProcessed = true;
            localRecorder.playback(this);
        }
    }
View Full Code Here

Examples of org.apache.fop.render.intermediate.IFStructureTreeBuilder.SAXEventRecorder

    private SAXEventRecorder sut;

    @Before
    public void setUp() {
        sut = new SAXEventRecorder();
    }
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.