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) |
getSupportedOptionsgetByteOrderMarkprivate int checkCriteria(org.xml.sax.InputSource contents)
throws java.io.IOException
contents - the contents to be evaluatedVALIDINVALIDINDETERMINATEjava.io.IOExceptionpublic 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.IContentDescriberdescribe in class XMLContentDescriberjava.io.IOExceptionpublic 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.ITextContentDescriberdescribe in class XMLContentDescriberjava.io.IOException