public class NodesCollection extends Object
Contains nodes which have the same mimetype.
| Constructor and Description |
|---|
NodesCollection() |
| Modifier and Type | Method and Description |
|---|---|
TNode |
add(ContentType contentType)
Adds a content type to this node collection.
|
protected void |
clear() |
boolean |
exists(ContentType contentType)
Checks if the content type exists in this node collection.
|
TNode |
get(ContentType contentType)
Returns the node of a content type if it exists in the collection.
|
ArrayList<TNodeWithUnbound> |
getAnySupportedByWithUnbound(ContentType contentType)
Returns nodes which are supported by the content type.
|
ArrayList<TNode> |
getAnyThatSupport(ContentType contentType)
Returns nodes that have generic support with the contentType.
|
ArrayList<TNodeWithUnbound> |
getAnyThatSupportWithUnbound(ContentType contentType)
Returns nodes that have exact support with the content type filled with unbound parameters.
|
TNode |
getExactlySupported(ContentType contentType)
Returns nodes that have exact support with the content type.
|
ArrayList<TNodeWithUnbound> |
getExactlySupportedWithUnbound(ContentType contentType)
Returns nodes that have exact support with the content type filled with unbound parameters.
|
ArrayList<TNodeWithUnbound> |
getGenericallySupported(ContentType contentType)
Returns nodes which are generically supported by the content type.
|
public TNode add(ContentType contentType)
contentType - The content type of this node.public boolean exists(ContentType contentType)
contentType - The content type to be checked.public TNode get(ContentType contentType)
contentType - The content type parameters.public ArrayList<TNodeWithUnbound> getExactlySupportedWithUnbound(ContentType contentType)
contentType - The content type.public TNode getExactlySupported(ContentType contentType)
contentType - The content type.public ArrayList<TNodeWithUnbound> getAnyThatSupportWithUnbound(ContentType contentType)
contentType - The content type.public ArrayList<TNode> getAnyThatSupport(ContentType contentType)
contentType - The ContentType to be checked.public ArrayList<TNodeWithUnbound> getAnySupportedByWithUnbound(ContentType contentType)
contentType - The content type.public ArrayList<TNodeWithUnbound> getGenericallySupported(ContentType contentType)
contentType - The content type.protected void clear()
Copyright © 2014. All Rights Reserved.