protected int getRotationAngle (Node contNode) throws ParseException {
        logger.entering(getClass().getName(), "getRotationAngle", contNode);
        int rotationAngle = 0;
        String strValue = getProcessingInstructionValue(contNode, "rotate");
        if (strValue != null) rotationAngle = df.parse(strValue).intValue();
        logger.exiting(getClass().getName(), "getRotationAngle", rotationAngle);
        return rotationAngle;
    }