public class RssConfiguration extends Object
Constructor and Description |
---|
RssConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
appendTags(Metadata metadata,
Document document,
Element parent)
Appends elements (tags) defined in a configuration file to a specific
parent element.
|
String |
getChannelLink()
Gets the channel link URL string.
|
List<RssNamespace> |
getNamespaceList()
Gets the list of namespaces.
|
void |
initialize(File file)
Initializes the parameters in the configuration object using values from
the supplied file.
|
public void initialize(File file) throws IOException
file
- the configuration fileIOException
- if the file does not exist and cannot be readpublic List<RssNamespace> getNamespaceList()
public String getChannelLink()
public void appendTags(Metadata metadata, Document document, Element parent)
metadata
- the metadata for the productdocument
- the document to which these elements belongparent
- the parent element to attach these elements toCopyright © 1999–2017 Apache OODT. All rights reserved.