Package org.apache.fop.render.afp
Class AFPForeignAttributeReader
java.lang.Object
org.apache.fop.render.afp.AFPForeignAttributeReader
Parses any AFP foreign attributes
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.xmlgraphics.util.QName
the resource-group-file attributestatic final org.apache.xmlgraphics.util.QName
the resource-level attributestatic final org.apache.xmlgraphics.util.QName
the resource-name attribute -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceInfo
(Map<org.apache.xmlgraphics.util.QName, String> foreignAttributes) Returns the resource informationgetResourceLevel
(Map<org.apache.xmlgraphics.util.QName, String> foreignAttributes) Returns the resource level
-
Field Details
-
RESOURCE_NAME
public static final org.apache.xmlgraphics.util.QName RESOURCE_NAMEthe resource-name attribute -
RESOURCE_LEVEL
public static final org.apache.xmlgraphics.util.QName RESOURCE_LEVELthe resource-level attribute -
RESOURCE_GROUP_URI
public static final org.apache.xmlgraphics.util.QName RESOURCE_GROUP_URIthe resource-group-file attribute
-
-
Constructor Details
-
AFPForeignAttributeReader
public AFPForeignAttributeReader()Main constructor
-
-
Method Details
-
getResourceInfo
public AFPResourceInfo getResourceInfo(Map<org.apache.xmlgraphics.util.QName, String> foreignAttributes) Returns the resource information- Parameters:
foreignAttributes
- the foreign attributes- Returns:
- the resource information
-
getResourceLevel
public AFPResourceLevel getResourceLevel(Map<org.apache.xmlgraphics.util.QName, String> foreignAttributes) Returns the resource level- Parameters:
foreignAttributes
- the foreign attributes- Returns:
- the resource level
-