public class Links extends ArrayList<Link>
modCount
Constructor and Description |
---|
Links() |
Modifier and Type | Method and Description |
---|---|
Link |
findLinkByRel(String rel)
Retrieve the first found link of with the given rel or null of it doesn't
exist
|
Link |
findLinkByType(String type)
Retrieve the first found link of with the given type or null of it
doesn't exist
|
List<Link> |
findLinksByRel(String rel)
Retrieve all links of with the given rel
|
List<Link> |
findLinksByType(String type)
Retrieve all links of with the given type
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public Link findLinkByType(String type)
type
- attribute of link to search forpublic Link findLinkByRel(String rel)
rel
- attribute of link to search forpublic List<Link> findLinksByType(String type)
type
- attribute of link to search forCopyright © 2017 Zanata Project. All rights reserved.