|
ShrinkWrap Implementation Base 1.0.0-cr-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.impl.base.NodeImpl
public class NodeImpl
The default implementation of Node
| Constructor Summary | |
|---|---|
NodeImpl(ArchivePath path)
Constructor This constructor will create a directory Node with the specified path. |
|
NodeImpl(ArchivePath path,
Asset asset)
Constructor This constructor will create an asset Node with the specified path. |
|
| Method Summary | |
|---|---|
void |
addChild(Node node)
Adds a child to the Set of nodes. |
boolean |
equals(Object obj)
|
Asset |
getAsset()
|
Set<Node> |
getChildren()
|
ArchivePath |
getPath()
|
int |
hashCode()
|
void |
removeChild(Node node)
Removes a child from the Set of nodes. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeImpl(ArchivePath path)
path - The ArchivePath this Node is placed within the Archive
public NodeImpl(ArchivePath path,
Asset asset)
path - The ArchivePath this Node is placed within the Archiveasset - The Asset that this Node holds.| Method Detail |
|---|
public ArchivePath getPath()
getPath in interface Nodepublic Asset getAsset()
getAsset in interface Nodepublic Set<Node> getChildren()
getChildren in interface Nodepublic void addChild(Node node)
node - The Node that will be added as a childpublic void removeChild(Node node)
node - The Node that will be removed from the childspublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
ShrinkWrap Implementation Base 1.0.0-cr-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||