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 SummaryConstructorsConstructorDescriptionDeprecated.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 SummaryMethods inherited from class org.apache.maven.building.StringSourcegetContent, getInputStream, getLocation, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.building.SourcegetInputStream, getLocation
- 
Constructor Details- 
StringModelSourceDeprecated.Creates a new model source backed by the specified string.- Parameters:
- pom- The POM's string representation, may be empty or- null.
 
- 
StringModelSourceDeprecated.Creates a new model source backed by the specified string.- Parameters:
- pom- The POM's string representation, may be empty or- null.
- location- The location to report for this use, may be- null.
 
 
- 
StringSource