org.apache.maven.model
Class InputSource

java.lang.Object
  extended by org.apache.maven.model.InputSource
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class InputSource
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Class InputSource.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
InputSource()
           
 
Method Summary
 InputSource clone()
          Method clone.
 java.lang.String getLocation()
          Get the path/URL of the POM or null if unknown.
 java.lang.String getModelId()
          Get the identifier of the POM in the format <groupId>:<artifactId>:<version>.
 void setLocation(java.lang.String location)
          Set the path/URL of the POM or null if unknown.
 void setModelId(java.lang.String modelId)
          Set the identifier of the POM in the format <groupId>:<artifactId>:<version>.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputSource

public InputSource()
Method Detail

clone

public InputSource clone()
Method clone.

Overrides:
clone in class java.lang.Object
Returns:
InputSource

getLocation

public java.lang.String getLocation()
Get the path/URL of the POM or null if unknown.

Returns:
String

getModelId

public java.lang.String getModelId()
Get the identifier of the POM in the format <groupId>:<artifactId>:<version>.

Returns:
String

setLocation

public void setLocation(java.lang.String location)
Set the path/URL of the POM or null if unknown.

Parameters:
location -

setModelId

public void setModelId(java.lang.String modelId)
Set the identifier of the POM in the format <groupId>:<artifactId>:<version>.

Parameters:
modelId -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.