Package org.apache.fop.render.afp
Class AFPForeignAttributeReader
- java.lang.Object
-
- org.apache.fop.render.afp.AFPForeignAttributeReader
-
public class AFPForeignAttributeReader extends java.lang.Object
Parses any AFP foreign attributes
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.commons.logging.Log
LOG
static org.apache.xmlgraphics.util.QName
RESOURCE_GROUP_URI
the resource-group-file attributestatic org.apache.xmlgraphics.util.QName
RESOURCE_LEVEL
the resource-level attributestatic org.apache.xmlgraphics.util.QName
RESOURCE_NAME
the resource-name attribute
-
Constructor Summary
Constructors Constructor Description AFPForeignAttributeReader()
Main constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AFPResourceInfo
getResourceInfo(java.util.Map<org.apache.xmlgraphics.util.QName,java.lang.String> foreignAttributes)
Returns the resource informationAFPResourceLevel
getResourceLevel(java.util.Map<org.apache.xmlgraphics.util.QName,java.lang.String> foreignAttributes)
Returns the resource level
-
-
-
Field Detail
-
LOG
private static final org.apache.commons.logging.Log LOG
-
RESOURCE_NAME
public static final org.apache.xmlgraphics.util.QName RESOURCE_NAME
the resource-name attribute
-
RESOURCE_LEVEL
public static final org.apache.xmlgraphics.util.QName RESOURCE_LEVEL
the resource-level attribute
-
RESOURCE_GROUP_URI
public static final org.apache.xmlgraphics.util.QName RESOURCE_GROUP_URI
the resource-group-file attribute
-
-
Method Detail
-
getResourceInfo
public AFPResourceInfo getResourceInfo(java.util.Map<org.apache.xmlgraphics.util.QName,java.lang.String> foreignAttributes)
Returns the resource information- Parameters:
foreignAttributes
- the foreign attributes- Returns:
- the resource information
-
getResourceLevel
public AFPResourceLevel getResourceLevel(java.util.Map<org.apache.xmlgraphics.util.QName,java.lang.String> foreignAttributes)
Returns the resource level- Parameters:
foreignAttributes
- the foreign attributes- Returns:
- the resource level
-
-