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

expand all

Profile: desktop, common

Overview

A Link element defines a reference from an entry or feed to a Web resource.

Profile: common

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publichrefString

Internationalized Resource Identifiers (IRI) associated with this link.

publichreflangString

Describes the language of the resource pointed to by the href attribute.

publiclengthString

The length of the representation when the IRI in the href attribute is dereferenced.

publicrelString

The link relation type.

publictextString

Text value associated with the link.

publictitleString

The title of the link.

publictypeString

The type of the representation when the value of the href attribute is dereferenced.

Inherited Variables

javafx.data.feed.atom.Atom

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicbaseString

Base URI for the Atom feed.

protectedfactoryFactorysubclasssubclasssubclass

The factory for creating new Atom elements.

publiclangString

The language for the Atom feed.

protectedtaskFeedTasksubclasssubclasssubclass

The Task that is currently parsing the feed.

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.

 

Inherited Functions

javafx.data.feed.atom.Atom

protected toXML() : java.lang.String
Returns
String
 
protected tryParseDate(text: java.lang.String) : DateTime
Parameters
text
Returns
DateTime
 

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 escape(s: java.lang.String) : java.lang.String

Substitute escape sequences for markup delimiter characters in the provided string as per http://www.w3.org/TR/xml/#syntax.

Substitute escape sequences for markup delimiter characters in the provided string as per http://www.w3.org/TR/xml/#syntax. The provided string is expected to be used for character data in an XML document. The returned string will be the same string provided if no markup delimiters are found. A null string provided will result in a zero-length string returned.

Parameters
s
Returns
String
 
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
 



Spec-Zone.ru - all specs in one place