Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1d7ecb79e6016759b4b4bde2ecb8d597b4182c08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*******************************************************************************
 * Copyright (c) 2013 Tasktop Technologies and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     David Green - initial API and implementation
 *******************************************************************************/

package org.eclipse.mylyn.wikitext.parser.builder.event;

import org.eclipse.mylyn.wikitext.parser.DocumentBuilder;
import org.eclipse.mylyn.wikitext.parser.builder.EventDocumentBuilder;

/**
 * Represents an invocation of a {@link DocumentBuilder} captured as an event which can be
 * {@link #invoke(DocumentBuilder) applied}.
 *
 * @author david.green
 * @see EventDocumentBuilder
 * @see DocumentBuilderEvents
 * @noextend This class is not intended to be subclassed by clients.
 * @since 3.0
 */
public abstract class DocumentBuilderEvent {

	/**
	 * Invokes the event on the given {@code builder}.
	 *
	 * @param builder
	 *            the builder
	 */
	public abstract void invoke(DocumentBuilder builder);

}

Back to the top