public abstract class ValidationRule
extends java.lang.Object
Constructor and Description |
---|
ValidationRule() |
Modifier and Type | Method and Description |
---|---|
abstract ValidationProblem |
findProblem(java.lang.String markup,
int offset,
int length)
Starting at the given offset find the next validation problem.
|
java.util.List<ValidationProblem> |
findProblems(java.lang.String markup,
int offset,
int length)
Find all validation problems that exist starting at the given offset
|
public abstract ValidationProblem findProblem(java.lang.String markup, int offset, int length)
markup
- the markup content in which a validation problem should be foundoffset
- the offset at which to start looking for problemslength
- the length at which to stop looking for problemspublic java.util.List<ValidationProblem> findProblems(java.lang.String markup, int offset, int length)
markup
- the markup content in which a validation problem should be foundoffset
- the offset at which to start looking for problemslength
- the length at which to stop looking for problemsCopyright © 2007, 2013 David Green 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