Back to project page android-geofeed.
The source code is released under:
Apache License
If you think the Android project android-geofeed listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * Copyright 2012 52?North Initiative for Geospatial Open Source Software GmbH */* w ww . ja v a 2 s .c o m*/ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.n52.geofeed.feed.extension; import java.util.List; import java.util.Set; import org.n52.geofeed.FeedType; import org.n52.geofeed.feed.FeedElement; import org.n52.geofeed.feed.IEntry; import org.n52.geofeed.feed.IFeed; import org.xml.sax.Attributes; /** * * @author Arne de Wall <a.dewall@52North.org> * */ public class BaseFeedExtensionDecorator implements IFeed { private IFeed feed; public BaseFeedExtensionDecorator(IFeed feed){ this.feed = feed; } @Override public String getName() { return feed.getName(); } @Override public String getContentString() { return feed.getContentString(); } @Override public FeedElement getElement(String name) { return feed.getElement(name); } @Override public List<FeedElement> getElementList(String name) { return feed.getElementList(name); } @Override public Set<String> getElementKeys() { return feed.getElementKeys(); } @Override public Attributes getAttributes() { return feed.getAttributes(); } @Override public String getTitle() { return feed.getTitle(); } @Override public FeedType getFeedType() { return feed.getFeedType(); } @Override public String getUri() { return feed.getUri(); } @Override public String getDescription() { return feed.getDescription(); } @Override public String getPublishedDate() { return feed.getPublishedDate(); } @Override public List<String> getCategories() { return feed.getCategories(); } @SuppressWarnings("unchecked") @Override public List<IEntry> getEntrys() { return (List<IEntry>)feed.getEntrys(); } @Override public String getLink() { return feed.getLink(); } @Override public String getAuthor() { return feed.getAuthor(); } @Override public FeedElement getLinkElement() { return feed.getLinkElement(); } @Override public FeedElement getAuthorElement() { return feed.getAuthorElement(); } @Override public List<? extends FeedElement> getCategoryElements() { return feed.getCategoryElements(); } }