org.apache.maven.plugin.eclipse
Class LinkedResource

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

public class LinkedResource
extends java.lang.Object

Represents a LinkedResources section in the .project file.

Author:
Ashokkumar Sankaran

Constructor Summary
LinkedResource()
          Default constructor
LinkedResource(org.codehaus.plexus.util.xml.Xpp3Dom node)
          Creates a LinkedResource from a DOM subtree
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLocation()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 int hashCode()
           
 void print(org.codehaus.plexus.util.xml.XMLWriter writer)
           
 void setLocation(java.lang.String location)
           
 void setName(java.lang.String name)
           
 void setType(java.lang.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(org.codehaus.plexus.util.xml.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 java.lang.String getName()

setName

public void setName(java.lang.String name)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getLocation

public java.lang.String getLocation()

setLocation

public void setLocation(java.lang.String location)

print

public void print(org.codehaus.plexus.util.xml.XMLWriter writer)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.