Factory

trait Factory
Companion
object
class Object
trait Matchable
class Any

Type members

Types

The common super-type of schema content element types. Should be SchemaContentElement in practice.

The common super-type of schema content element types. Should be SchemaContentElement in practice.

Specific schema content element type, which is a sub-type of SchemaContentElementSuperType.

Specific schema content element type, which is a sub-type of SchemaContentElementSuperType.

Value members

Abstract methods

def opt(elem: Elem, ancestorENames: IndexedSeq[EName], targetNamespaceOption: Option[String], childElems: IndexedSeq[SchemaContentElementSuperType]): Option[SchemaContentElementType]

Creates a schema content element of the given type from the passed parameters, if applicable, and returns None otherwise.

Creates a schema content element of the given type from the passed parameters, if applicable, and returns None otherwise.