|
Scala
1.4.0.3 |
|||
Method Summary | |
protected
|
var adecls: List[AttrDecl]
|
def apply(n: Node): Boolean
applies various validations - accumulates error messages in exc |
|
def check(md: MetaData): Boolean
check attributes, return true if md corresponds to attribute declarations in adecls. |
|
def check(nodes: Seq[Node]): Boolean
check children, return true if conform to content model |
|
protected
|
var contentModel: ContentModel
|
protected
|
var dfa: DetWordAutom[ElemName]
|
var exc: List[ValidationException]
|
|
def getContentModel: ContentModel
|
|
def getIterator(nodes: Seq[Node], skipPCDATA: Boolean): Iterator[ElemName]
|
|
def setContentModel(cm: ContentModel): Unit
set content model, enabling element validation |
|
def setMetaData(adecls: List[AttrDecl]): Unit
set meta data, enabling attribute validation |
Methods inherited from java/lang/Object-class |
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait |
Methods inherited from scala/Any-class |
!=, ==, asInstanceOf, isInstanceOf, match |
Methods inherited from scala/ScalaObject-class |
getScalaType |
Method Detail |
var exc: List[ValidationException]
protected var contentModel: ContentModel
protected var dfa: DetWordAutom[ElemName]
protected var adecls: List[AttrDecl]
def setContentModel(cm: ContentModel): Unit
def getContentModel: ContentModel
def setMetaData(adecls: List[AttrDecl]): Unit
def getIterator(nodes: Seq[Node], skipPCDATA: Boolean): Iterator[ElemName]
def check(md: MetaData): Boolean
def check(nodes: Seq[Node]): Boolean
def apply(n: Node): Boolean
|
Scala
1.4.0.3 |
|||