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 use StringSource
Wraps an ordinary CharSequence as a model source.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Creates a new model source backed by the specified string.
    Deprecated.
    Creates a new model source backed by the specified string.
  • Method Summary

    Methods inherited from class org.apache.maven.building.StringSource

    equals, getContent, getInputStream, getLocation, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.maven.building.Source

    getInputStream, getLocation
  • 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.