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:
org.apache.maven.building.Source,ModelSource
@Deprecated public class StringModelSource extends org.apache.maven.building.StringSource implements ModelSource
Deprecated.instead useStringSourceWraps an ordinaryCharSequenceas a model source.- Author:
- Benjamin Bentmann
-
-
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.
-
-
-
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.
-
-