@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public class ImageMapFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ro.sync.ecss.imagemap.ImageMapWrapper |
buildDITAWrapper(java.lang.String imageMapString,
java.net.URL baseURL,
AuthorAccess authorAccess,
int fontOfTheNodeSize,
boolean validate)
Build the DITA wrapper.
|
IImageMapWrapper |
getImageMap(SupportedFrameworks supportedFramework,
AuthorAccess authorAccess,
int fontOfTheNodeSize,
java.net.URL baseURL,
java.util.Map<java.lang.String,java.lang.String> uri2ProxyMappings,
boolean validate,
java.lang.String... sources)
Get the image map.
|
IImageMapWrapper |
getImageMap(SupportedFrameworks supportedFramework,
AuthorAccess authorAccess,
int fontOfTheNodeSize,
java.net.URL baseURL,
java.util.Map<java.lang.String,java.lang.String> uri2ProxyMappings,
java.lang.String... sources)
Get the image map.
|
static ImageMapFactory |
getInstance()
Get the image map factory instance.
|
public static ImageMapFactory getInstance()
public IImageMapWrapper getImageMap(SupportedFrameworks supportedFramework, AuthorAccess authorAccess, int fontOfTheNodeSize, java.net.URL baseURL, java.util.Map<java.lang.String,java.lang.String> uri2ProxyMappings, java.lang.String... sources) throws javax.xml.bind.JAXBException, ImageMapNotSuportedException, java.net.MalformedURLException
supportedFramework - The supported framework.authorAccess - The author access.fontOfTheNodeSize - The font of the node's size.baseURL - The base URL.uri2ProxyMappings - The URI to proxy mappings.sources - The sources for the image map components. Usually a single one,
excepting XHTML which has two elements, one for image, one for map.javax.xml.bind.JAXBException - If the UnMarshall-ing fails.ImageMapNotSuportedException - If the image map has some arguments that are not supported by us.java.net.MalformedURLException - If the image URL cannot be computed.public IImageMapWrapper getImageMap(SupportedFrameworks supportedFramework, AuthorAccess authorAccess, int fontOfTheNodeSize, java.net.URL baseURL, java.util.Map<java.lang.String,java.lang.String> uri2ProxyMappings, boolean validate, java.lang.String... sources) throws javax.xml.bind.JAXBException, ImageMapNotSuportedException, java.net.MalformedURLException
supportedFramework - The supported framework.authorAccess - The author access.fontOfTheNodeSize - The font of the node's size.baseURL - The base URL.uri2ProxyMappings - The URI to proxy mappings.validate - true to validate the XMl structure which is loaded.
if any unknown elements are encountered an exception will be thrown.sources - The sources for the image map components. Usually a single one,
excepting XHTML which has two elements, one for image, one for map.javax.xml.bind.JAXBException - If the UnMarshall-ing fails.ImageMapNotSuportedException - If the image map has some arguments that are not supported by us.java.net.MalformedURLException - If the image URL cannot be computed.public static ro.sync.ecss.imagemap.ImageMapWrapper buildDITAWrapper(java.lang.String imageMapString,
java.net.URL baseURL,
AuthorAccess authorAccess,
int fontOfTheNodeSize,
boolean validate)
throws javax.xml.bind.JAXBException,
ImageMapNotSuportedException,
java.net.MalformedURLException
imageMapString - The string with the image map, in XML format.baseURL - The base URL (URL of the document usually).authorAccess - The author access.fontOfTheNodeSize - The font of the node's size.validate - true to validate the input map.javax.xml.bind.JAXBException - If the UnMarshall-ing fails.ImageMapNotSuportedException - If the image map has some arguments that are not supported by us.java.net.MalformedURLException - If the image URL cannot be computed.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.