java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.esau.ptarmigan.impl.filter.BaseFilter
org.esau.ptarmigan.impl.filter.PlaylistFilter
org.esau.ptarmigan.impl.filter.XMLPlaylistFilter
- All Implemented Interfaces:
- org.esau.ptarmigan.impl.CharacterStreamSource, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, org.xml.sax.XMLFilter, org.xml.sax.XMLReader
- Direct Known Subclasses:
- ASXFilter, B4SFilter
- public abstract class XMLPlaylistFilter
- extends PlaylistFilter
XMLPlaylistFilter -- abstract base class for XML playlists
- Version:
- $Revision: 1.2 $ $Date: 2002/09/19 03:53:08 $
Fields inherited from class org.esau.ptarmigan.impl.filter.PlaylistFilter |
log, NS_PREFIX, NS_URI, TAG_ENTRY, TAG_ENTRY_DURATION, TAG_ENTRY_TITLE, TAG_ENTRY_URL, TAG_PLAYLIST, TAG_PROPS, TAG_PROPS_AUTHOR, TAG_PROPS_COPYRIGHT, TAG_PROPS_DURATION_TOTAL, TAG_PROPS_ENTRY_COUNT, TAG_PROPS_SUMMARY, TAG_PROPS_TITLE |
Method Summary |
(package private) void |
doParse(java.io.InputStream is)
not used, as parse is directed through XML-parser |
void |
endDocument()
Filter an end document event (avoids confusion of SAX consumers) |
(package private) boolean |
sourceIsXML()
indicate that an XML parser is required to read the source |
void |
startDocument()
Filter a start document event (avoids confusion of SAX consumers) |
Methods inherited from class org.esau.ptarmigan.impl.filter.PlaylistFilter |
endPlaylist, getIncludeEntries, getInEntry, getIsPropsDone, getNamespacePrefix, getNamespaceURI, isMatch, resetData, setAuthor, setBaseDir, setCopyright, setEntryCount, setEntryDuration, setEntryPath, setEntryPath, setEntryTitle, setIncludeEntries, setInEntry, setSummary, setTitle, startPlaylist, writeEntry, writeProperties |
Methods inherited from class org.esau.ptarmigan.impl.filter.BaseFilter |
characters, getByteStream, getChars, getMediaProperties, parse, setMediaProperties, write, write, write, write, write, write, write, write, write, write, write, writeDate, writeDate, writeDate, writeDate, writeInteger, writeInteger, writeInteger, writeInteger, writeInteger, writeString, writeString, writeString, writeString, writeString |
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLPlaylistFilter
public XMLPlaylistFilter()
throws org.xml.sax.SAXException
sourceIsXML
boolean sourceIsXML()
- indicate that an XML parser is required to read the source
- Overrides:
sourceIsXML
in class BaseFilter
doParse
void doParse(java.io.InputStream is)
throws org.xml.sax.SAXException,
java.io.IOException,
java.text.ParseException
- not used, as parse is directed through XML-parser
- Specified by:
doParse
in class BaseFilter
startDocument
public void startDocument()
throws org.xml.sax.SAXException
- Filter a start document event (avoids confusion of SAX consumers)
endDocument
public void endDocument()
throws org.xml.sax.SAXException
- Filter an end document event (avoids confusion of SAX consumers)