|
|||||||||
| Home >> All >> com >> sun >> syndication >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.sun.syndication.io
Class SyndFeedInput

java.lang.Objectcom.sun.syndication.io.SyndFeedInput
- public class SyndFeedInput
- extends java.lang.Object
Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument) into an SyndFeedImpl.
It delegates to a WireFeedInput to handle all feed types.
| Field Summary | |
private WireFeedInput |
_feedInput
|
| Constructor Summary | |
SyndFeedInput()
Creates a SyndFeedInput instance with input validation turned off. |
|
SyndFeedInput(boolean validate)
Creates a SyndFeedInput instance. |
|
| Method Summary | |
com.sun.syndication.feed.synd.SyndFeed |
build(org.w3c.dom.Document document)
Builds SyndFeedImpl from an W3C DOM document. |
com.sun.syndication.feed.synd.SyndFeed |
build(org.jdom.Document document)
Builds SyndFeedImpl from an JDOM document. |
com.sun.syndication.feed.synd.SyndFeed |
build(java.io.File file)
Builds SyndFeedImpl from a file. |
com.sun.syndication.feed.synd.SyndFeed |
build(org.xml.sax.InputSource is)
Builds SyndFeedImpl from an W3C SAX InputSource. |
com.sun.syndication.feed.synd.SyndFeed |
build(java.io.Reader reader)
Builds SyndFeedImpl from an Reader. |
boolean |
getXmlHealerOn()
Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream. |
void |
setXmlHealerOn(boolean heals)
Enables XML healing in the WiredFeedInput instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_feedInput
private WireFeedInput _feedInput
| Constructor Detail |
SyndFeedInput
public SyndFeedInput()
- Creates a SyndFeedInput instance with input validation turned off.
SyndFeedInput
public SyndFeedInput(boolean validate)
- Creates a SyndFeedInput instance.
| Method Detail |
setXmlHealerOn
public void setXmlHealerOn(boolean heals)
- Enables XML healing in the WiredFeedInput instance.
Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog.
Healing resolves HTML entities (from literal to code number) in the reader.
The healing is done only with the build(File) and build(Reader) signatures.
By default is TRUE.
getXmlHealerOn
public boolean getXmlHealerOn()
- Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream.
Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog.
Healing resolves HTML entities (from literal to code number) in the reader.
The healing is done only with the build(File) and build(Reader) signatures.
By default is TRUE.
build
public com.sun.syndication.feed.synd.SyndFeed build(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException, java.lang.IllegalArgumentException, FeedException
- Builds SyndFeedImpl from a file.
build
public com.sun.syndication.feed.synd.SyndFeed build(java.io.Reader reader) throws java.lang.IllegalArgumentException, FeedException
- Builds SyndFeedImpl from an Reader.
build
public com.sun.syndication.feed.synd.SyndFeed build(org.xml.sax.InputSource is) throws java.lang.IllegalArgumentException, FeedException
- Builds SyndFeedImpl from an W3C SAX InputSource.
build
public com.sun.syndication.feed.synd.SyndFeed build(org.w3c.dom.Document document) throws java.lang.IllegalArgumentException, FeedException
- Builds SyndFeedImpl from an W3C DOM document.
build
public com.sun.syndication.feed.synd.SyndFeed build(org.jdom.Document document) throws java.lang.IllegalArgumentException, FeedException
- Builds SyndFeedImpl from an JDOM document.
|
|||||||||
| Home >> All >> com >> sun >> syndication >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.sun.syndication.io.SyndFeedInput