Package org.apache.maven.model.building
Class StringModelSource
java.lang.Object
org.apache.maven.building.StringSource
org.apache.maven.model.building.StringModelSource
- All Implemented Interfaces:
Source
,ModelSource
Deprecated.
Wraps an ordinary
CharSequence
as a model source.- Author:
- Benjamin Bentmann
-
Constructor Summary
ConstructorDescriptionDeprecated.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
getContent, getInputStream, getLocation, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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