public abstract class AbstractSVGGeneratingCanvasProvider extends AbstractXMLGeneratingCanvasProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
SVG_NAMESPACE
the SVG namespace: http://www.w3.org/2000/svg
|
bardim| Constructor and Description |
|---|
AbstractSVGGeneratingCanvasProvider(boolean useNamespace,
int orientation)
Creates a new AbstractSVGCanvasProvider.
|
AbstractSVGGeneratingCanvasProvider(boolean useNamespace,
String namespacePrefix,
int orientation)
Creates a new AbstractSVGCanvasProvider.
|
AbstractSVGGeneratingCanvasProvider(int orientation)
Creates a new AbstractSVGCanvasProvider with default settings (with
namespaces, but without namespace prefix).
|
AbstractSVGGeneratingCanvasProvider(String namespacePrefix,
int orientation)
Creates a new AbstractSVGCanvasProvider with namespaces enabled.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespacePrefix()
Returns the namespace prefix
|
protected String |
getQualifiedName(String localName)
Constructs a fully qualified element name based on the namespace
settings.
|
boolean |
isNamespaceEnabled()
Indicates whether namespaces are enabled.
|
addUnit, getDecimalFormatdeviceCenteredText, deviceJustifiedText, establishDimensions, getDimensions, getOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeviceFillRect, deviceTextpublic static final String SVG_NAMESPACE
public AbstractSVGGeneratingCanvasProvider(boolean useNamespace,
String namespacePrefix,
int orientation)
throws BarcodeCanvasSetupException
useNamespace - Controls whether namespaces should be usednamespacePrefix - the namespace prefix to use, null for no prefixBarcodeCanvasSetupException - if setting up the provider failspublic AbstractSVGGeneratingCanvasProvider(String namespacePrefix, int orientation) throws BarcodeCanvasSetupException
namespacePrefix - the namespace prefix to use, null for no prefixBarcodeCanvasSetupException - if setting up the provider failspublic AbstractSVGGeneratingCanvasProvider(boolean useNamespace,
int orientation)
throws BarcodeCanvasSetupException
useNamespace - Controls whether namespaces should be usedBarcodeCanvasSetupException - if setting up the provider failspublic AbstractSVGGeneratingCanvasProvider(int orientation)
throws BarcodeCanvasSetupException
BarcodeCanvasSetupException - if setting up the provider failspublic boolean isNamespaceEnabled()
public String getNamespacePrefix()
Copyright © 2003–2023. All rights reserved.