Spec-Zone .ru
спецификации, руководства, описания, API

JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Base class for the elements of an RSS channel.

Profile: common

Script Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicAUTHORQName

Qualified name of an RSS element named author

publicCATEGORYQName

Qualified name of an RSS element named category

publicCHANNELQName

Qualified name of an RSS element named channel

publicCOMMENTSQName

Qualified name of an RSS element named comments

publicCOPYRIGHTQName

Qualified name of an RSS element named copyright

publicDESCRIPTIONQName

Qualified name of an RSS element named description

publicDOCSQName

Qualified name of an RSS element named docs

publicDOMAINQName

Qualified name of an RSS element named domain

publicENCLOSUREQName

Qualified name of an RSS element named enclosure

publicGENERATORQName

Qualified name of an RSS element named generator

publicGUIDQName

Qualified name of an RSS element named guid

publicHEIGHTQName

Qualified name of an RSS element named height

publicIMAGEQName

Qualified name of an RSS element named image

publicIS_PERMA_LINKQName

Qualified name of an RSS element named isPermaLink

publicITEMQName

Qualified name of an RSS element named item

publicLANGUAGEQName

Qualified name of an RSS element named language

publicLAST_BUILD_DATEQName

Qualified name of an RSS element named lastBuildDate

publicLENGTHQName

Qualified name of an RSS element named length

publicLINKQName

Qualified name of an RSS element named link

publicMIME_TYPEString

MIME media type of an RSS document

publicPUB_DATEQName

Qualified name of an RSS element named pubDate

publicRSSQName

Qualified name of an RSS element named rss

publicSOURCEQName

Qualified name of an RSS element named source

publicTITLEQName

Qualified name of an RSS element named title

publicTTLQName

Qualified name of an RSS element named ttl

publicTYPEQName

Qualified name of an RSS element named type

publicURLQName

Qualified name of an RSS element named url

publicVERSIONQName

Qualified name of an RSS element named version

publicWIDTHQName

Qualified name of an RSS element named width

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
protectedfactoryFactorysubclasssubclasssubclass

The factory for creating new RSS elements.

protectedtaskFeedTasksubclasssubclasssubclass

The Task that is currently parsing the feed.

Inherited Variables

javafx.data.feed.Base

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicnamespacesPair[]

The namespace definitions in effect for this element.

The namespace definitions in effect for this element. The name attribute of the Pair contains the namespace prefix and the value attribute contains the namespace URI.

 
publicparentBase

Points to the parent, or enclosing element.

Points to the parent, or enclosing element. Will be null if there is no parent.

 

Function Summary

public impl_parse(parser: PullParser) : Void
Parameters
parser
 
protected tryParseDate(text: java.lang.String) : DateTime
Parameters
text
Returns
DateTime
 

Inherited Functions

javafx.data.feed.Base

protected dispatchForeignElement(parser: PullParser, task: FeedTask, refNamespace: java.lang.String) : Void

Determine if the current event is a foreign event and report it to the registered callback, if any.

Determine if the current event is a foreign event and report it to the registered callback, if any.

Parameters
parser
task
refNamespace
 
protected abstract fromXML(parser: PullParser) : Void

Subclasses override this function to parse themselves from the XML stream events generated by the parser.

Subclasses override this function to parse themselves from the XML stream events generated by the parser.

Parameters
parser
 
protected map(qname: QName) : java.lang.String

Map the specified QName according to namespace definitions currently in effect.

Map the specified QName according to namespace definitions currently in effect.
Returns a representation of the specified QName taking current namespace definitions into account, using the currently-mapped prefix, if one is currently mapped to the QName's namespace uri. Also recursively traverse up the hierarchy to find a match.

Parameters
qname
Returns
String
a String representation of the qname with its prefix adjusted to match the namespace definitions currently in effect.
 
protected parseNamespaces(parser: PullParser) : Void

Parse namespace definitions for this element, if any.

Parse namespace definitions for this element, if any.

Parameters
parser
 
protected stripCDATA(s: java.lang.String) : java.lang.String

Remove CDATA start and end markers from content.

Remove CDATA start and end markers from content.

Parameters
s
Returns
String
 
protected toXML() : java.lang.String

Generate an XML representation of the element.

Generate an XML representation of the element. The Base class generates an XML representation of the namespaces in effect. Overriding classes are expected to override this function and add their own representation by calling super.toXML().

Returns
String
an XML representation of the element
 
protected tryFromXML(parser: PullParser, task: FeedTask) : Void

Try to parse the element from its XML representation, reporting exceptions, if any, to the onException callback.

Try to parse the element from its XML representation, reporting exceptions, if any, to the onException callback. The use of this function helps the parser recover from parse errors.

Parameters
parser
task