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 public class StringModelSource extends StringSource implements ModelSource
Deprecated.instead useStringSource
Wraps an ordinaryCharSequence
as a model source.- Author:
- Benjamin Bentmann
-
-
Constructor Summary
Constructors Constructor Description StringModelSource(CharSequence pom)
Deprecated.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 Detail
-
StringModelSource
public StringModelSource(CharSequence pom)
Deprecated.Creates a new model source backed by the specified string.- Parameters:
pom
- The POM's string representation, may be empty ornull
.
-
StringModelSource
public StringModelSource(CharSequence pom, String location)
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
.
-
-