public class Links extends ArrayList<Link>
modCount
Constructor and Description |
---|
Links() |
Modifier and Type | Method and Description |
---|---|
Link |
findLinkByRef(URI href)
Retrieve the first found link of with the given href or null of it doesn't
exist
|
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> |
findLinksByRef(URI href)
Retrieve all links of with the given href
|
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
|
String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public Link findLinkByType(String type)
type
- attribute of link to search forpublic Link findLinkByRel(String rel)
rel
- attribute of link to search forpublic Link findLinkByRef(URI href)
href
- attribute of link to search forpublic List<Link> findLinksByType(String type)
type
- attribute of link to search forpublic List<Link> findLinksByRel(String rel)
rel
- attribute of link to search forpublic List<Link> findLinksByRef(URI href)
href
- attribute of link to search forpublic String toString()
toString
in class AbstractCollection<Link>
Copyright © 2013 Zanata Project. All Rights Reserved.