blob: 280206ca88eebceee72eff919eecdfe1d4fbe88f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Jens Lukowski/Innoopract - initial renaming/restructuring
*
*******************************************************************************/
package org.eclipse.wst.xml.core.internal.parser;
import org.eclipse.wst.sse.core.internal.ltk.parser.IBlockedStructuredDocumentRegion;
import org.eclipse.wst.sse.core.internal.text.BasicStructuredDocumentRegion;
public class BlockStructuredDocumentRegion extends BasicStructuredDocumentRegion implements IBlockedStructuredDocumentRegion {
private String partitionType;
/**
* A BlockStructuredDocumentRegion is like a IStructuredDocumentRegion,
* but is the result of a "block scan".
*/
public BlockStructuredDocumentRegion() {
super();
}
public String getPartitionType() {
if (partitionType == null) {
// eventually can look up surroundingTag name
// but this field is primarily entended for future
// extensibility. This may change.
//partitionType = "org.eclipse.wst.sse.core." + tagname;
}
return partitionType;
}
public void setPartitionType(String partitionType) {
this.partitionType = partitionType;
}
}