Package com.rometools.rome.feed.module

Examples of com.rometools.rome.feed.module.DCSubjectImpl


     * Default constructor. All properties are set to <b>null</b>.
     * <p>
     *
     */
    public SyndCategoryImpl() {
        this(new DCSubjectImpl());
    }
View Full Code Here


                final String taxonomy = getTaxonomy(description);

                final List<Element> values = description.getChildren("value", getRDFNamespace());
                for (final Element value : values) {

                    final DCSubject subject = new DCSubjectImpl();
                    subject.setTaxonomyUri(taxonomy);
                    subject.setValue(value.getText());
                    subjects.add(subject);

                }

            } else {
                final DCSubject subject = new DCSubjectImpl();
                subject.setValue(eSubject.getText());
                subjects.add(subject);
            }
        }

        return subjects;
View Full Code Here

TOP

Related Classes of com.rometools.rome.feed.module.DCSubjectImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.