1 <?xml version="1.0" encoding="UTF-8"?>
2 <node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" name="/node">
3 <interface name="org.freedesktop.atspi.Document">
4 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
5 <p>Primarily a 'tagging' interface which indicates the start of
6 document content in the Accessibility hierarchy.
7 Accessible objects below the node implementing
8 Document are normally assumed to be part of the document content.
9 Attributes of Document are those attributes associated with the document
10 as a whole. Objects that implement Document are normally expected to
11 implement Collection as well. </p>
13 <method name="getLocale">
14 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
15 <p>Gets the locale associated with the document's content.
16 e.g. the locale for LOCALE_TYPE_MESSAGES. </p>
18 <arg direction="out" type="s">
20 A string compliant with the POSIX standard for locale description.
24 <method name="getAttributeValue">
25 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
26 <p>Gets the value of a single attribute, if specified for the document as a whole. </p>
28 <arg direction="in" name="attributename" type="s">
30 A string indicating the name of a specific attribute (name-value pair) being queried.
33 <arg direction="out" type="s">
35 A string corresponding to the value of the specified attribute, oran empty string if the attribute is unspecified for the object.
39 <method name="getAttributes">
40 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
41 <p>Gets all attributes specified for a document as a whole.
42 For attributes which change within
43 the document content, see Text.getAttributes instead. </p>
45 <arg direction="out" type="{ss}" tp:type="AttributeSet">
47 A list of strings containing the attributes of the document, as name-value pairs.