org.apache.maven.plugin.eclipse
Class LinkedResource

java.lang.Object
  extended by org.apache.maven.plugin.eclipse.LinkedResource

public class LinkedResource
extends Object

Represents a LinkedResources section in the .project file.

Author:
Ashokkumar Sankaran

Constructor Summary
LinkedResource()
          Default constructor
LinkedResource(Xpp3Dom node)
          Creates a LinkedResource from a DOM subtree
 
Method Summary
 boolean equals(Object obj)
           
 String getLocation()
           
 String getLocationURI()
           
 String getName()
           
 String getType()
           
 int hashCode()
           
 void print(XMLWriter writer)
           
 void setLocation(String location)
           
 void setLocationURI(String locationURI)
           
 void setName(String name)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedResource

public LinkedResource()
Default constructor


LinkedResource

public LinkedResource(Xpp3Dom node)
Creates a LinkedResource from a DOM subtree

The subtree must represent a <linkedResources> section from an Eclipse .project file

Parameters:
node - DOM node
Method Detail

getName

public String getName()

setName

public void setName(String name)

getType

public String getType()

setType

public void setType(String type)

getLocation

public String getLocation()

setLocation

public void setLocation(String location)

getLocationURI

public String getLocationURI()

setLocationURI

public void setLocationURI(String locationURI)

print

public void print(XMLWriter writer)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.