public final class PomFileContentDescriber extends XMLContentDescriber
org.eclipse.ant.internal.core.contentDescriber.AntBuildfileContentDescriber
Constructor and Description |
---|
PomFileContentDescriber() |
Modifier and Type | Method and Description |
---|---|
private int |
checkCriteria(org.xml.sax.InputSource contents)
Determines the validation status for the given contents.
|
int |
describe(java.io.InputStream contents,
org.eclipse.core.runtime.content.IContentDescription description) |
int |
describe(java.io.Reader contents,
org.eclipse.core.runtime.content.IContentDescription description) |
getSupportedOptions
getByteOrderMark
private int checkCriteria(org.xml.sax.InputSource contents) throws java.io.IOException
contents
- the contents to be evaluatedVALID
INVALID
INDETERMINATE
java.io.IOException
public int describe(java.io.InputStream contents, org.eclipse.core.runtime.content.IContentDescription description) throws java.io.IOException
describe
in interface org.eclipse.core.runtime.content.IContentDescriber
describe
in class XMLContentDescriber
java.io.IOException
public int describe(java.io.Reader contents, org.eclipse.core.runtime.content.IContentDescription description) throws java.io.IOException
describe
in interface org.eclipse.core.runtime.content.ITextContentDescriber
describe
in class XMLContentDescriber
java.io.IOException