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 use StringSource
Wraps an ordinary CharSequence as a model source.
Author:
Benjamin Bentmann
  • Constructor Details

    • 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 or null.
    • 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 or null.
      location - The location to report for this use, may be null.