ObjectStyleExportTagMap(A mapping object that maps an object export type to an export tag.)のコレクション
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
add(exportType, exportTag, exportClass, exportAttributes, [withProperties]) |
ObjectStyleExportTagMap | 新しいオブジェクトを作成し、それを返す |
| exportType |
文字列値 | | The type of export. |
| exportTag |
文字列値 | | The tag to map. |
| exportClass |
文字列値 | | The class to map. |
| exportAttributes |
文字列値 | | The attributes to map. |
| [withProperties] |
Object | | |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
anyItem() |
ObjectStyleExportTagMap | どれかのオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
count() |
数値 | 要素数を返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
everyItem() |
Array( ObjectStyleExportTagMap ) | 全てのオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
firstItem() |
ObjectStyleExportTagMap | 最初のオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
item(index) |
ObjectStyleExportTagMap | インデックスまたは名前で指定したオブジェクトを返す |
| index |
数値, 文字列値 | | インデックスまたは名前 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
itemByRange(from, to) |
Array( ObjectStyleExportTagMap ) | 範囲で指定したオブジェクトを返す |
| from |
ObjectStyleExportTagMap, 数値, 文字列値 | | 範囲の開始 |
| to |
ObjectStyleExportTagMap, 数値, 文字列値 | | 範囲の終了 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
lastItem() |
ObjectStyleExportTagMap | 最後のオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
middleItem() |
ObjectStyleExportTagMap | 真ん中のオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
nextItem(obj) |
ObjectStyleExportTagMap | 一つ後のオブジェクトを返す |
| obj |
ObjectStyleExportTagMap | | 位置の基準になるオブジェクト |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
previousItem(obj) |
ObjectStyleExportTagMap | 一つ前のオブジェクトを返す |
| obj |
ObjectStyleExportTagMap | | 位置の基準になるオブジェクト |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
toSource() |
文字列値 | ソースコードを表す文字列を返す |
A mapping object that maps an object export type to an export tag.