Lawtext core references / core/src/law/std/stdEL / Law
Interface: Law
Defined in: core/src/law/std/stdEL.ts:155 (opens in a new tab)
EL: a simplified XML DOM functionality that implements JsonEL interface.
Extends
Properties
attr
attr:
object
Defined in: core/src/law/std/stdEL.ts:157 (opens in a new tab)
The attributes of the element
Era
Era:
"Meiji"|"Taisho"|"Showa"|"Heisei"|"Reiwa"
Lang
Lang:
"ja"|"en"
LawType
LawType:
"Constitution"|"Act"|"CabinetOrder"|"ImperialOrder"|"MinisterialOrdinance"|"Rule"|"Misc"
Num
Num:
string
PromulgateDay?
optionalPromulgateDay:string
PromulgateMonth?
optionalPromulgateMonth:string
Year
Year:
string
Overrides
children
Defined in: core/src/law/std/stdEL.ts:166 (opens in a new tab)
The children of the element
Overrides
id
id:
number
Defined in: core/src/node/el/index.ts:14 (opens in a new tab)
Inherited from
isControl
isControl:
false
Defined in: core/src/law/std/stdEL.ts:152 (opens in a new tab)
Inherited from
range
range:
null| [number,number]
Defined in: core/src/node/el/index.ts:15 (opens in a new tab)
Inherited from
tag
tag:
"Law"
Defined in: core/src/law/std/stdEL.ts:156 (opens in a new tab)
The tag name of the element
Overrides
Methods
copy()
copy(
deep,copyID):EL
Defined in: core/src/node/el/index.ts:40 (opens in a new tab)
Parameters
deep
boolean = true
copyID
boolean = false
Returns
Inherited from
innerXML()
innerXML(
withControlEl):string
Defined in: core/src/node/el/index.ts:109 (opens in a new tab)
Parameters
withControlEl
boolean = false
Returns
string
Inherited from
json()
json(
withControlEl,withProperties):JsonEL
Defined in: core/src/node/el/index.ts:56 (opens in a new tab)
Parameters
withControlEl
boolean = false
withProperties
boolean = false
Returns
Inherited from
outerXML()
outerXML(
withControlEl):string
Defined in: core/src/node/el/index.ts:105 (opens in a new tab)
Parameters
withControlEl
boolean = false
Returns
string
Inherited from
text()
text():
string
Defined in: core/src/node/el/index.ts:95 (opens in a new tab)
Returns
string
Inherited from
wrapXML()
wrapXML(
inner):string
Defined in: core/src/node/el/index.ts:101 (opens in a new tab)
Parameters
inner
string
Returns
string