Constructor Detail

XMLImageHandler

Method Detail

canHandleNamespace

Checks if the element is recognized as an embedded image. For instance if the element is from
the MathML namespace, then a MathML handler would return true, and it can be used to generate an image
from it.

Parameters:

namespace - The namespace of the element from the document.

Returns:

True if the element was recognized by the handler - an image can be generated for it.

canHandleNodeContext

Checks if the element is recognized as an embedded image. For instance if the element is from
the MathML namespace, then a MathML handler would return true, and it can be used to generate an image
from it.

Parameters:

nodeContext - The context for an element.

Returns:

True if the element was recognized by the handler - an image can be generated for it.