Class CommonAccessibility
java.lang.Object
org.apache.fop.fo.properties.CommonAccessibility
The "role" and "source-document" properties, see Section 7.5 of the XSL-FO 1.1
Recommendation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final CommonAccessibilityprivate final Stringprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommonAccessibilitygetInstance(PropertyList propertyList) Returns an instance that matches the values (if any) in the given property list.getRole()Returns the value of the role property.Returns the value of the source-document property.
-
Field Details
-
DEFAULT_INSTANCE
-
sourceDocument
-
role
-
-
Constructor Details
-
CommonAccessibility
-
-
Method Details
-
getInstance
Returns an instance that matches the values (if any) in the given property list.- Parameters:
propertyList- a list from which to retrieve the accessibility properties- Returns:
- the corresponding instance
- Throws:
PropertyException- if a problem occurs while retrieving the properties
-
getSourceDocument
Returns the value of the source-document property.- Returns:
- the source document, or null if the property was set to "none"
-
getRole
Returns the value of the role property.- Returns:
- the role, or null if the property was set to "none"
-