blob: 7392d0c5936db2043d9658f602587e9d29a588dd [file] [log] [blame]
/*******************************************************************************
* 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.html.internal;
import org.eclipse.mylyn.wikitext.parser.Attributes;
import org.eclipse.mylyn.wikitext.parser.DocumentBuilder;
import org.eclipse.mylyn.wikitext.parser.DocumentBuilder.SpanType;
class SupportedSpanStrategy implements SpanStrategy {
static final SupportedSpanStrategy instance = new SupportedSpanStrategy();
@Override
public void beginSpan(DocumentBuilder builder, SpanType type, Attributes attributes) {
builder.beginSpan(type, attributes);
}
@Override
public void endSpan(DocumentBuilder builder) {
builder.endSpan();
}
}