org.apache.maven.plugin.eclipse
Class LinkedResource
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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
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.