|
barcode4j 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.krysalis.barcode4j.output.AbstractCanvasProvider
org.krysalis.barcode4j.output.AbstractXMLGeneratingCanvasProvider
org.krysalis.barcode4j.output.svg.AbstractSVGGeneratingCanvasProvider
public abstract class AbstractSVGGeneratingCanvasProvider
Abstract base class for implementations that generate SVG.
| Field Summary | |
|---|---|
static java.lang.String |
SVG_NAMESPACE
the SVG namespace: http://www.w3.org/2000/svg |
| Fields inherited from class org.krysalis.barcode4j.output.AbstractCanvasProvider |
|---|
bardim |
| Constructor Summary | |
|---|---|
AbstractSVGGeneratingCanvasProvider(boolean useNamespace,
int orientation)
Creates a new AbstractSVGCanvasProvider. |
|
AbstractSVGGeneratingCanvasProvider(boolean useNamespace,
java.lang.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(java.lang.String namespacePrefix,
int orientation)
Creates a new AbstractSVGCanvasProvider with namespaces enabled. |
|
| Method Summary | |
|---|---|
java.lang.String |
getNamespacePrefix()
Returns the namespace prefix |
protected java.lang.String |
getQualifiedName(java.lang.String localName)
Constructs a fully qualified element name based on the namespace settings. |
boolean |
isNamespaceEnabled()
Indicates whether namespaces are enabled. |
| Methods inherited from class org.krysalis.barcode4j.output.AbstractXMLGeneratingCanvasProvider |
|---|
addUnit, getDecimalFormat |
| Methods inherited from class org.krysalis.barcode4j.output.AbstractCanvasProvider |
|---|
deviceCenteredText, deviceJustifiedText, establishDimensions, getDimensions, getOrientation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.krysalis.barcode4j.output.CanvasProvider |
|---|
deviceFillRect, deviceText |
| Field Detail |
|---|
public static final java.lang.String SVG_NAMESPACE
| Constructor Detail |
|---|
public AbstractSVGGeneratingCanvasProvider(boolean useNamespace,
java.lang.String namespacePrefix,
int orientation)
throws BarcodeCanvasSetupException
useNamespace - Controls whether namespaces should be usednamespacePrefix - the namespace prefix to use, null for no prefix
BarcodeCanvasSetupException - if setting up the provider fails
public AbstractSVGGeneratingCanvasProvider(java.lang.String namespacePrefix,
int orientation)
throws BarcodeCanvasSetupException
namespacePrefix - the namespace prefix to use, null for no prefix
BarcodeCanvasSetupException - if setting up the provider fails
public AbstractSVGGeneratingCanvasProvider(boolean useNamespace,
int orientation)
throws BarcodeCanvasSetupException
useNamespace - Controls whether namespaces should be used
BarcodeCanvasSetupException - if setting up the provider fails
public AbstractSVGGeneratingCanvasProvider(int orientation)
throws BarcodeCanvasSetupException
BarcodeCanvasSetupException - if setting up the provider fails| Method Detail |
|---|
public boolean isNamespaceEnabled()
public java.lang.String getNamespacePrefix()
protected java.lang.String getQualifiedName(java.lang.String localName)
localName - the local name
|
barcode4j 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||