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 useStringSourceWraps an ordinaryCharSequenceas a model source.
-
-
Constructor Summary
Constructors Constructor Description StringModelSource(java.lang.CharSequence pom)Deprecated.Creates a new model source backed by the specified string.StringModelSource(java.lang.CharSequence pom, java.lang.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(java.lang.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(java.lang.CharSequence pom, java.lang.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.
-
-