Interface ModelProcessor
- All Known Implementing Classes:
DefaultModelProcessor
public interface ModelProcessor
ModelProcessor
-
Method Summary
Modifier and TypeMethodDescriptionlocateExistingPom(Path project) Returns the file containing the pom to be parsed or null if a pom can not be found at the given file or in the given directory.read(XmlReaderRequest request) Reads the model from the specified byte stream.
-
Method Details
-
locateExistingPom
Returns the file containing the pom to be parsed or null if a pom can not be found at the given file or in the given directory. -
read
Reads the model from the specified byte stream. The stream will be automatically closed before the method returns.- Parameters:
request- The reader request to deserialize the model, must not benull.- Returns:
- The deserialized model, never
null. - Throws:
IOException- If the model could not be deserialized.XmlReaderException- If the input format could not be parsed.
-