eu.cdevreeze.yaidom.xs.schema

ElementDeclaration

abstract class ElementDeclaration extends ElementDeclarationOrReference

Element declaration. An element declaration is either a global or local element declaration.

Linear Supertypes
ElementDeclarationOrReference, SchemaComponent, SchemaObject, Immutable, HasText, ElemLike[SchemaObject], ElemApi[SchemaObject], ParentElemLike[SchemaObject], ParentElemApi[SchemaObject], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ElementDeclaration
  2. ElementDeclarationOrReference
  3. SchemaComponent
  4. SchemaObject
  5. Immutable
  6. HasText
  7. ElemLike
  8. ElemApi
  9. ParentElemLike
  10. ParentElemApi
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def scopeOption: Option[indexed.Elem]

    Returns the "scope", if any, wrapped in an Option.

    Returns the "scope", if any, wrapped in an Option.

    That is, if this element declaration is not a reference, and has a complex type definition as ancestor, that complex type definition is returned as indexed.Elem, wrapped in an Option. In all other cases, None is returned.

    Definition Classes
    ElementDeclarationOrReference
  2. abstract def targetNamespaceOption: Option[String]

    Returns the target namespace of the schema component, if any, wrapped in an Option.

    Returns the target namespace of the schema component, if any, wrapped in an Option.

    Some types of schema component do not have the notion of a target namespace (in which case None is returned), but most do (whether it is defined or not).

    Definition Classes
    SchemaComponent

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def \(expandedName: EName): IndexedSeq[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  7. final def \(p: (SchemaObject) ⇒ Boolean): IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  8. final def \@(expandedName: EName): Option[String]

    Definition Classes
    ElemLike → ElemApi
  9. final def \\(expandedName: EName): IndexedSeq[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  10. final def \\(p: (SchemaObject) ⇒ Boolean): IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  11. final def \\!(expandedName: EName): IndexedSeq[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  12. final def \\!(p: (SchemaObject) ⇒ Boolean): IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  13. final def abstractOption: Option[Boolean]

    Returns the value of the 'abstract' attribute, if any, wrapped in an Option.

    Returns the value of the 'abstract' attribute, if any, wrapped in an Option.

    Definition Classes
    ElementDeclarationOrReference
  14. val allChildElems: IndexedSeq[SchemaObject]

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. final def attribute(expandedName: EName): String

    Definition Classes
    ElemLike → ElemApi
  17. final def attributeOption(expandedName: EName): Option[String]

    Definition Classes
    ElemLike → ElemApi
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. val docUri: URI

  20. final def elemPath: ElemPath

    Returns wrappedElem.elemPath

    Returns wrappedElem.elemPath

    Definition Classes
    SchemaObject
  21. final def enameOption: Option[EName]

    Returns the EName by combining the target namespace and the value of the "name" attribute, if any, wrapped in an Option.

    Returns the EName by combining the target namespace and the value of the "name" attribute, if any, wrapped in an Option.

    Definition Classes
    ElementDeclarationOrReference
  22. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def equals(obj: Any): Boolean

    Returns true if this SchemaObject has the same wrappedElem as the passed object, if it is also a SchemaObject.

    Returns true if this SchemaObject has the same wrappedElem as the passed object, if it is also a SchemaObject.

    Definition Classes
    SchemaObject → AnyRef → Any
  24. final def filterAttributeDeclarationOrReferences(p: (AttributeDeclarationOrReference) ⇒ Boolean): IndexedSeq[AttributeDeclarationOrReference]

    Returns all attribute declarations obeying the given predicate (excluding self).

    Returns all attribute declarations obeying the given predicate (excluding self).

    Definition Classes
    SchemaObject
  25. final def filterChildElems(expandedName: EName): IndexedSeq[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  26. final def filterChildElems(p: (SchemaObject) ⇒ Boolean): IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  27. final def filterElementDeclarationOrReferences(p: (ElementDeclarationOrReference) ⇒ Boolean): IndexedSeq[ElementDeclarationOrReference]

    Returns all element declarations obeying the given predicate (excluding self).

    Returns all element declarations obeying the given predicate (excluding self).

    Definition Classes
    SchemaObject
  28. final def filterElems(expandedName: EName): IndexedSeq[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  29. final def filterElems(p: (SchemaObject) ⇒ Boolean): IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  30. final def filterElemsOrSelf(expandedName: EName): IndexedSeq[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  31. final def filterElemsOrSelf(p: (SchemaObject) ⇒ Boolean): IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  32. final def filterTypeDefinitions(p: (TypeDefinition) ⇒ Boolean): IndexedSeq[TypeDefinition]

    Returns all type declarations obeying the given predicate (excluding self).

    Returns all type declarations obeying the given predicate (excluding self).

    Definition Classes
    SchemaObject
  33. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def findAllAttributeDeclarationOrReferences: IndexedSeq[AttributeDeclarationOrReference]

    Returns all attribute declarations inside this SchemaObject (excluding self).

    Returns all attribute declarations inside this SchemaObject (excluding self).

    Definition Classes
    SchemaObject
  35. final def findAllChildElems: IndexedSeq[SchemaObject]

    Definition Classes
    SchemaObject → ParentElemLike → ParentElemApi
  36. final def findAllElementDeclarationOrReferences: IndexedSeq[ElementDeclarationOrReference]

    Returns all element declarations inside this SchemaObject (excluding self).

    Returns all element declarations inside this SchemaObject (excluding self).

    Definition Classes
    SchemaObject
  37. final def findAllElems: IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  38. final def findAllElemsOrSelf: IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  39. final def findAllTypeDefinitions: IndexedSeq[TypeDefinition]

    Returns all type definitions inside this SchemaObject (excluding self).

    Returns all type definitions inside this SchemaObject (excluding self).

    Definition Classes
    SchemaObject
  40. final def findAttributeByLocalName(localName: String): Option[String]

    Definition Classes
    ElemLike → ElemApi
  41. final def findChildElem(expandedName: EName): Option[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  42. final def findChildElem(p: (SchemaObject) ⇒ Boolean): Option[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  43. final def findElem(expandedName: EName): Option[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  44. final def findElem(p: (SchemaObject) ⇒ Boolean): Option[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  45. final def findElemOrSelf(expandedName: EName): Option[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  46. final def findElemOrSelf(p: (SchemaObject) ⇒ Boolean): Option[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  47. final def findTopmostAttributeDeclarationOrReferences(p: (AttributeDeclarationOrReference) ⇒ Boolean): IndexedSeq[AttributeDeclarationOrReference]

    Returns all topmost attribute declarations inside this SchemaObject (excluding self) obeying the given predicate.

    Returns all topmost attribute declarations inside this SchemaObject (excluding self) obeying the given predicate. Note that "topmost" is not the same as "global" (which only makes sense for the Schema object).

    Definition Classes
    SchemaObject
  48. final def findTopmostElementDeclarationOrReferences(p: (ElementDeclarationOrReference) ⇒ Boolean): IndexedSeq[ElementDeclarationOrReference]

    Returns all topmost element declarations inside this SchemaObject (excluding self) obeying the given predicate.

    Returns all topmost element declarations inside this SchemaObject (excluding self) obeying the given predicate. Note that "topmost" is not the same as "global" (which only makes sense for the Schema object).

    Definition Classes
    SchemaObject
  49. final def findTopmostElems(expandedName: EName): IndexedSeq[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  50. final def findTopmostElems(p: (SchemaObject) ⇒ Boolean): IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  51. final def findTopmostElemsOrSelf(expandedName: EName): IndexedSeq[SchemaObject]

    Definition Classes
    ElemLike → ElemApi
  52. final def findTopmostElemsOrSelf(p: (SchemaObject) ⇒ Boolean): IndexedSeq[SchemaObject]

    Definition Classes
    ParentElemLike → ParentElemApi
  53. final def findTopmostTypeDefinitions(p: (TypeDefinition) ⇒ Boolean): IndexedSeq[TypeDefinition]

    Returns all topmost type declarations inside this SchemaObject (excluding self) obeying the given predicate.

    Returns all topmost type declarations inside this SchemaObject (excluding self) obeying the given predicate. Note that "topmost" is not the same as "global" (which only makes sense for the Schema object).

    Definition Classes
    SchemaObject
  54. final def getChildElem(expandedName: EName): SchemaObject

    Definition Classes
    ElemLike → ElemApi
  55. final def getChildElem(p: (SchemaObject) ⇒ Boolean): SchemaObject

    Definition Classes
    ParentElemLike → ParentElemApi
  56. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  57. final def hashCode(): Int

    Returns wrappedElem.hashCode

    Returns wrappedElem.hashCode

    Definition Classes
    SchemaObject → AnyRef → Any
  58. final def idOption: Option[String]

    Returns the value of the 'id' attribute, if any, wrapped in an Option.

    Returns the value of the 'id' attribute, if any, wrapped in an Option.

    Definition Classes
    ElementDeclarationOrReference
  59. final def isAbstract: Boolean

    Returns true if and only if the element declaration is abstract.

    Returns true if and only if the element declaration is abstract. Only global element declarations can be abstract.

    Definition Classes
    ElementDeclarationOrReference
  60. final def isGlobal: Boolean

    Returns true if and only if the element declaration has the schema element as its parent.

    Returns true if and only if the element declaration has the schema element as its parent.

    Element references are not considered global, because their parent is not the schema element, but they do always refer to global element declarations.

    Definition Classes
    ElementDeclarationOrReference
  61. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  62. final def isReference: Boolean

    Returns true if and only if the element declaration is a reference to another (global) element declaration.

    Returns true if and only if the element declaration is a reference to another (global) element declaration. Top level element declarations are never references.

    Definition Classes
    ElementDeclarationOrReference
  63. final def localName: String

    Definition Classes
    ElemLike → ElemApi
  64. final def nameAttributeOption: Option[String]

    Returns the value of the "name" attribute, if any, wrapped in an Option.

    Returns the value of the "name" attribute, if any, wrapped in an Option.

    Definition Classes
    ElementDeclarationOrReference
  65. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  66. final def nillableOption: Option[Boolean]

    Returns the value of the 'nillable' attribute, if any, wrapped in an Option.

    Returns the value of the 'nillable' attribute, if any, wrapped in an Option.

    Definition Classes
    ElementDeclarationOrReference
  67. final def normalizedText: String

    Definition Classes
    HasText
  68. final def notify(): Unit

    Definition Classes
    AnyRef
  69. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  70. final def refOption: Option[EName]

    Returns the value of the 'ref' attribute as expanded name, if any, wrapped in an Option.

    Returns the value of the 'ref' attribute as expanded name, if any, wrapped in an Option.

    Definition Classes
    ElementDeclarationOrReference
  71. final def resolvedAttributes: IndexedSeq[(EName, String)]

    Definition Classes
    SchemaObject → ElemLike → ElemApi
  72. final def resolvedName: EName

    Definition Classes
    SchemaObject → ElemLike → ElemApi
  73. final def rootElem: Elem

    Returns wrappedElem.rootElem

    Returns wrappedElem.rootElem

    Definition Classes
    SchemaObject
  74. final def substitutionGroupOption: Option[EName]

    Returns the value of the 'substitutionGroup' attribute as expanded name, if any, wrapped in an Option.

    Returns the value of the 'substitutionGroup' attribute as expanded name, if any, wrapped in an Option.

    Definition Classes
    ElementDeclarationOrReference
  75. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  76. final def text: String

    Definition Classes
    SchemaObject → HasText
  77. final def toString(): String

    Definition Classes
    SchemaObject → AnyRef → Any
  78. final def trimmedText: String

    Definition Classes
    HasText
  79. final def typeAttributeOption: Option[EName]

    Returns the value of the 'type' attribute as expanded name, if any, wrapped in an Option.

    Returns the value of the 'type' attribute as expanded name, if any, wrapped in an Option.

    Definition Classes
    ElementDeclarationOrReference
  80. final def uriOption: Option[URI]

    Returns the optional URI of this element, containing the id attribute value as URI fragment, if any.

    Returns the optional URI of this element, containing the id attribute value as URI fragment, if any. If the id attribute is absent, None is returned.

    Definition Classes
    SchemaObject
  81. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  82. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  83. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  84. val wrappedElem: indexed.Elem

Inherited from SchemaComponent

Inherited from SchemaObject

Inherited from Immutable

Inherited from HasText

Inherited from ElemLike[SchemaObject]

Inherited from ElemApi[SchemaObject]

Inherited from ParentElemLike[SchemaObject]

Inherited from ParentElemApi[SchemaObject]

Inherited from AnyRef

Inherited from Any

Ungrouped