public class ExternalContent extends Object
Constructor and Description |
---|
ExternalContent() |
Modifier and Type | Method and Description |
---|---|
void |
add(SpecialHTMLTransformer hTransForm,
Sequence seq)
Adds content for the key to this ExternalContent.
|
boolean |
contains(String key) |
ArrayList<String> |
getContent(String key)
Returns the external content for a specific keyword.
|
String |
getContent(String key,
int idx)
Returns the external content for a specific keyword and index.
|
public ArrayList<String> getContent(String key)
key
- public String getContent(String key, int idx)
key
- idx
- The index corresponds to the entry in sequence with the index idx.public void add(SpecialHTMLTransformer hTransForm, Sequence seq)
hTransForm
- Interface instance that transforms the nodes of the
sequence to the desired format.seq
- Sequence whose nodes should be transformed.public boolean contains(String key)
Copyright (C) 2013, 2014 Benjamin Paaßen, Charlie Krüger, Georg Zentgraf, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs