Package org.apache.fop.fo.extensions
Class ExtensionElementMapping
- java.lang.Object
-
- org.apache.fop.fo.ElementMapping
-
- org.apache.fop.fo.extensions.ExtensionElementMapping
-
public class ExtensionElementMapping extends ElementMapping
Element mapping for FOP's proprietary extension to XSL-FO.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ExtensionElementMapping.DestinationMaker
(package private) static class
ExtensionElementMapping.ExternalDocumentMaker
-
Nested classes/interfaces inherited from class org.apache.fop.fo.ElementMapping
ElementMapping.Maker
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Set<java.lang.String>
PROPERTY_ATTRIBUTES
static java.lang.String
STANDARD_PREFIX
The standard XML prefix for elements and attributes in this namespace.static java.lang.String
URI
The FOP extension namespace URI-
Fields inherited from class org.apache.fop.fo.ElementMapping
DEFAULT, foObjs, namespaceURI
-
-
Constructor Summary
Constructors Constructor Description ExtensionElementMapping()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getStandardPrefix()
protected void
initialize()
Initialize the data structures.boolean
isAttributeProperty(org.apache.xmlgraphics.util.QName attributeName)
Indicates whether a particular attribute of the namespace is a property, i.e.-
Methods inherited from class org.apache.fop.fo.ElementMapping
getDefaultDOMImplementation, getDOMImplementation, getNamespaceURI, getTable
-
-
-
-
Field Detail
-
URI
public static final java.lang.String URI
The FOP extension namespace URI- See Also:
- Constant Field Values
-
STANDARD_PREFIX
public static final java.lang.String STANDARD_PREFIX
The standard XML prefix for elements and attributes in this namespace.- See Also:
- Constant Field Values
-
PROPERTY_ATTRIBUTES
private static final java.util.Set<java.lang.String> PROPERTY_ATTRIBUTES
-
-
Method Detail
-
initialize
protected void initialize()
Initialize the data structures.- Specified by:
initialize
in classElementMapping
-
getStandardPrefix
public java.lang.String getStandardPrefix()
- Overrides:
getStandardPrefix
in classElementMapping
- Returns:
- the standard namespace prefix for this namespace or null if it is not known.
-
isAttributeProperty
public boolean isAttributeProperty(org.apache.xmlgraphics.util.QName attributeName)
Indicates whether a particular attribute of the namespace is a property, i.e. the attribute value should be converted to a property value.- Overrides:
isAttributeProperty
in classElementMapping
- Parameters:
attributeName
- the attribute name- Returns:
- true if the attribute should be converted to a property
-
-