Class XmlDetector
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.application.installer.detector.XmlDetector
-
- All Implemented Interfaces:
ArtifactDetector
- Direct Known Subclasses:
LivingApplicationDetector,OrganizationDetector,ProcessDetector
public abstract class XmlDetector extends java.lang.Object implements ArtifactDetector
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.xml.parsers.DocumentBuilderdocumentBuilder
-
Constructor Summary
Constructors Modifier Constructor Description protectedXmlDetector(java.lang.String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisCompliant(byte[] fileContentBytes)booleanisCompliant(java.io.File file)
-
-
-
Method Detail
-
isCompliant
public boolean isCompliant(java.io.File file) throws java.io.IOException- Specified by:
isCompliantin interfaceArtifactDetector- Throws:
java.io.IOException
-
isCompliant
protected boolean isCompliant(byte[] fileContentBytes)
-
-