Package com.aspose.barcode.generation
Class ExtCodetextBuilder
java.lang.Object
com.aspose.barcode.generation.ExtCodetextBuilder
- Direct Known Subclasses:
DataMatrixExtCodetextBuilder,DotCodeExtCodetextBuilder,MaxiCodeExtCodetextBuilder,QrExtCodetextBuilder
Helper class for automatic codetext generation of the Extended Codetext Mode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddECICodetext(int ECIEncoding, String codetext) Adds codetext with Extended Channel IdentifiervoidaddPlainCodetext(String codetext) Adds plain codetext to the extended codetext itemsvoidclear()Clears extended codetext itemsabstract StringGenerate extended codetext from generation items listbooleanisNeedToShieldItemFromPrevECI(int Index) Checks necessity to shield previous item by "\000000"
-
Constructor Details
-
ExtCodetextBuilder
public ExtCodetextBuilder()
-
-
Method Details
-
isNeedToShieldItemFromPrevECI
public boolean isNeedToShieldItemFromPrevECI(int Index) Checks necessity to shield previous item by "\000000"
- Parameters:
Index- Index in m_List- Returns:
- Necessity to shield
-
clear
public void clear()Clears extended codetext items
-
addPlainCodetext
Adds plain codetext to the extended codetext items
- Parameters:
codetext- Codetext in unicode to add as extended codetext item
-
addECICodetext
Adds codetext with Extended Channel Identifier
- Parameters:
ECIEncoding- Extended Channel Identifiercodetext- Codetext in unicode to add as extended codetext item with Extended Channel Identifier
-
getExtendedCodetext
Generate extended codetext from generation items list
- Returns:
- Return string of extended codetext
-