USADriveIdJurisdSubfile
Contents
[
Hide
]USADriveIdJurisdSubfile class
Namespace: Aspose.Barcode.ComplexBarcode
Class for Jurisdiction specific fields for USA DL
Constructors
| Name | Description |
|---|---|
| __construct |
Methods
| Name | Static | Description |
|---|---|---|
| addOrReplaceDataElement | No | Adds a new DataElement or replaces it if ElementID already exists. |
| clear | No | Clears all data elements |
| findDataElement | No | Searches for a data element by 3-letter id. |
| get_Item | No | Indexing by 3-letter element id |
| insert | No | Inserts a DataElement at the specified index, or replaces an existing element if an entry with the same ElementID is already present. |
| remove | No | Tries to remove element at index |
| size | No | Returns number of data elements |
| set_Item | No | Indexing by 3-letter element id |
USADriveIdJurisdSubfile__construct()
addOrReplaceDataElementaddOrReplaceDataElement(DataElement $node)
Adds a new DataElement or replaces it if ElementID already exists.
| Parameter | Type | Description |
|---|---|---|
$node | DataElement |
Returns: DataElement Added/replaced data element
clearclear()
Clears all data elements
findDataElementfindDataElement(string $id, bool $is_open_or_create)
Searches for a data element by 3-letter id.
| Parameter | Type | Description |
|---|---|---|
$id | string | |
$is_open_or_create | bool |
Returns: DataElement|null Found data element (or null if not found and not created)
get_Itemget_Item($key)
Indexing by 3-letter element id
| Parameter | Type | Description |
|---|---|---|
$key | `` |
Returns: DataElement DataElement
insertinsert(int $index, DataElement $node)
Inserts a DataElement at the specified index, or replaces an existing element if an entry with the same ElementID is already present.
| Parameter | Type | Description |
|---|---|---|
$index | int | |
$node | DataElement |
Returns: DataElement
removeremove($index)
Tries to remove element at index
| Parameter | Type | Description |
|---|---|---|
$index | `` |
Returns: bool true if successful, false if out of range
sizesize()
Returns number of data elements
set_Itemset_Item($key, DataElement $value)
Indexing by 3-letter element id
| Parameter | Type | Description |
|---|---|---|
$key | `` | |
$value | DataElement |