public class XmlDetector extends AbstractDetector
| Modifier and Type | Class and Description |
|---|---|
protected class |
XmlDetector.Handler |
protected class |
XmlDetector.Matched |
| 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) |
addChild, getDesignation, getExtension, getExtensions, getMimeType, setDesignation, setExtension, setMimeType, setValid, toString, validpublic void setXmlns(String xmlns)
public void setPublicId(String dt)
public boolean test(byte[] lithmus)
public void configure(Element el)
configure in interface Detectorconfigure in class AbstractDetectorMMBase 1.9-SNAPSHOT - ${javadoctimestamp}