public class XmlDetector extends AbstractDetector
| Modifier and Type | Class and Description |
|---|---|
protected class |
XmlDetector.Handler |
protected class |
XmlDetector.Matched
In case a match is found, this exception is thrown and further parsing is interrupted.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
namespace |
protected Pattern |
publicId |
childList, message, valid| Constructor and Description |
|---|
XmlDetector() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Element el) |
void |
setPublicId(String dt) |
void |
setXmlns(String xmlns) |
boolean |
test(byte[] lithmus,
InputStream input) |
protected boolean |
test(InputStream input) |
String |
toString() |
addChild, getDesignation, getExtension, getExtensions, getMimeType, setDesignation, setExtension, setMimeType, setValid, validpublic void setXmlns(String xmlns)
public void setPublicId(String dt)
public boolean test(byte[] lithmus,
InputStream input)
protected boolean test(InputStream input)
public void configure(Element el)
configure in interface Detectorconfigure in class AbstractDetectorpublic String toString()
toString in class AbstractDetectorMMBase2 Utils 2.0.0 - 2019-08-08T23:20