trait ContainerElement[S <: StructuralElement] extends StructuralElement with MutableElementContainer[S]
- Alphabetic
- By Inheritance
- ContainerElement
- MutableElementContainer
- ElementContainer
- StructuralElement
- NamedElement
- Content
- ClientProperties
- HasMetaData
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
add(s: S, at: AddPosition = AtEnd): Unit
- Definition Classes
- MutableElementContainer
-
abstract
def
delete(name: LocalName): Option[S]
- Definition Classes
- MutableElementContainer
-
abstract
def
domain: Iterable[LocalName]
- Definition Classes
- ElementContainer
-
abstract
val
feature: String
the kind of declaration, e.g., "constant"
the kind of declaration, e.g., "constant"
- Definition Classes
- StructuralElement
-
abstract
def
getComponents: List[DeclarationComponent]
returns all term components of this elements
returns all term components of this elements
- Definition Classes
- StructuralElement
-
abstract
def
getDeclarations: List[S]
- Definition Classes
- ElementContainer
-
abstract
def
getMostSpecific(name: LocalName): Option[(S, LocalName)]
- Definition Classes
- ElementContainer
-
abstract
def
getO(name: LocalName): Option[S]
- Definition Classes
- ElementContainer
-
abstract
def
name: LocalName
the name relative to the parent
the name relative to the parent
- Definition Classes
- NamedElement
-
abstract
def
parent: ComponentParent
the containing knowledge item, a URL if none
the containing knowledge item, a URL if none
- Definition Classes
- StructuralElement
-
abstract
def
path: ComponentParent
the MMT URI of the element
the MMT URI of the element
- Definition Classes
- StructuralElement
-
abstract
def
reorder(name: LocalName): Unit
moves the named declaration to the beginning, thus calling reorder in the new order reorders the container
moves the named declaration to the beginning, thus calling reorder in the new order reorders the container
- Definition Classes
- MutableElementContainer
-
abstract
def
toNode: Node
XML representation
XML representation
- Definition Classes
- Content
-
abstract
def
update(s: S): Unit
- Definition Classes
- MutableElementContainer
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
lazy val
clientProperty: ListMap[URI, Any]
- Definition Classes
- ClientProperties
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compatible(that: StructuralElement): Boolean
two StructuralElement's are compatible if they have the same type, same Path, and agree in all parts that are TermContainer's
two StructuralElement's are compatible if they have the same type, same Path, and agree in all parts that are TermContainer's
- Definition Classes
- StructuralElement
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
equivalentTo(that: StructuralElement): Boolean
logically equivalent: compares headerInfo, components, and declarations
logically equivalent: compares headerInfo, components, and declarations
- Definition Classes
- StructuralElement
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(name: LocalName): S
- Definition Classes
- ElementContainer
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getComponent(k: ComponentKey): Option[ComponentContainer]
returns a specific component if present
returns a specific component if present
- Definition Classes
- StructuralElement
-
def
getComponentContext(k: ComponentKey): Context
like getComponent but returns the additional context (in addition to the context of the element) of the component, empty by default, override as needed unspecified if the component does not exist
like getComponent but returns the additional context (in addition to the context of the element) of the component, empty by default, override as needed unspecified if the component does not exist
- Definition Classes
- StructuralElement
-
def
getDeclarationsBefore(n: LocalName): List[S]
- Definition Classes
- ElementContainer
-
def
getDeclarationsElaborated: List[S]
the list of declarations using elaborated declarations where possible these are: primitive elements: includes, constants other elements if they have not been fully elaborated
-
def
getMetaDataNode: NodeSeq
- Definition Classes
- HasMetaData
-
def
getO(name: String): Option[S]
same as get(LocalName(name))
same as get(LocalName(name))
- Definition Classes
- ElementContainer
-
def
getOrigin: Origin
- Definition Classes
- StructuralElement
-
def
getPrimitiveDeclarations: List[S]
the list of declarations in the order of addition, excludes generated declarations
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
headerInfo: HeaderInfo
header information of this elements includes the MMT types (e.g., domain, codomain of links) but not the logical types of constants
header information of this elements includes the MMT types (e.g., domain, codomain of links) but not the logical types of constants
- Definition Classes
- StructuralElement
-
def
isDeclared(name: LocalName): Boolean
- Definition Classes
- ElementContainer
-
def
isGenerated: Boolean
- Definition Classes
- StructuralElement
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
merge(that: StructuralElement): Unit
merge all properties of 'that' into 'this' except for components and declarations
merge all properties of 'that' into 'this' except for components and declarations
- Definition Classes
- StructuralElement
-
val
metadata: MetaData
- Definition Classes
- HasMetaData
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setOrigin(o: Origin): Unit
- Definition Classes
- StructuralElement
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toNode(rh: RenderingHandler): Unit
by default, this prints out toNode
by default, this prints out toNode
potentially large StructuralElements should override it with a memory-efficient implementation
- Definition Classes
- Content
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()