Class

scala.xml.dtd

ElementValidator

Related Doc: package dtd

Permalink

class ElementValidator extends (Node) ⇒ Boolean

validate children and/or attributes of an element exceptions are created but not thrown.

Linear Supertypes
(Node) ⇒ Boolean, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElementValidator
  2. Function1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ElementValidator()

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. var adecls: List[AttrDecl]

    Permalink
    Attributes
    protected
  5. def andThen[A](g: (Boolean) ⇒ A): (Node) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. def apply(n: Node): Boolean

    Permalink

    applies various validations - accumulates error messages in exc

    applies various validations - accumulates error messages in exc

    Definition Classes
    ElementValidator → Function1
    To do

    fail on first error, ignore other errors (rearranging conditions)

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def check(nodes: Seq[Node]): Boolean

    Permalink

    check children, return true if conform to content model

    check children, return true if conform to content model

    Note

    contentModel != null

  9. def check(md: MetaData): Boolean

    Permalink

    check attributes, return true if md corresponds to attribute declarations in adecls.

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  11. def compose[A](g: (A) ⇒ Node): (A) ⇒ Boolean

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. var contentModel: ContentModel

    Permalink
    Attributes
    protected
  13. var dfa: DetWordAutom[ElemName]

    Permalink
    Attributes
    protected
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  17. def getContentModel: ContentModel

    Permalink
  18. def getIterable(nodes: Seq[Node], skipPCDATA: Boolean): Iterable[ElemName]

    Permalink
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  24. def setContentModel(cm: ContentModel): Unit

    Permalink

    set content model, enabling element validation

  25. def setMetaData(adecls: List[AttrDecl]): Unit

    Permalink

    set meta data, enabling attribute validation

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from (Node) ⇒ Boolean

Inherited from AnyRef

Inherited from Any

Ungrouped