CompositeElements

public final class CompositeElements : ElementProtocol

Undocumented

  • Undocumented

    Declaration

    Swift

    public var objects: [ElementProtocol]
  • Undocumented

    Declaration

    Swift

    public init()
  • This method append a new element in objects list

    Declaration

    Swift

    public func add<T>(_ element: T)

    Parameters

    element

    Generic Type ElementProtocol or String

  • This method return tag and all elements

    Declaration

    Swift

    public func getString() -> String

    Return Value

    String tag and all elements

  • This method print tag and all elements

    Declaration

    Swift

    public func generate()