Class StringModelSource
java.lang.Object
org.apache.maven.building.StringSource
org.apache.maven.model.building.StringModelSource
- All Implemented Interfaces:
org.apache.maven.building.Source, ModelSource
@Deprecated
public class StringModelSource
extends org.apache.maven.building.StringSource
implements ModelSource
Deprecated.
Wraps an ordinary
CharSequence as a model source.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new model source backed by the specified string.StringModelSource(CharSequence pom, String location) Deprecated.Creates a new model source backed by the specified string. -
Method Summary
Methods inherited from class org.apache.maven.building.StringSource
equals, getContent, getInputStream, getLocation, hashCode, toStringMethods inherited from interface org.apache.maven.building.Source
getInputStream, getLocation
-
Constructor Details
-
StringModelSource
Deprecated.Creates a new model source backed by the specified string.- Parameters:
pom- The POM's string representation, may be empty ornull.
-
StringModelSource
Deprecated.Creates a new model source backed by the specified string.- Parameters:
pom- The POM's string representation, may be empty ornull.location- The location to report for this use, may benull.
-
StringSource