in scala/xml/dtd
class AttributeValidator

class AttributeValidator(namespace$$: String, attrSpec1: Seq[AttrDecl])
extends Object
with ScalaObject

only CDATA attributes, ignores attributes that have different namespace
Param::
attrSpec

Field Summary
final val attrSpec: HashMap[String,AttrDecl]
  val map: HashMap[String,String]
final val namespace: String

Method Summary
  def add(as: List[Attribute], x: Attribute): List[Attribute]
  var attribsTemplate: List[Attribute]
  var req: Int
  def validate(attributes: AttributeSeq): AttributeSeq

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Field Detail

namespace

  final val namespace: String

attrSpec

  final val attrSpec: HashMap[String,AttrDecl]

map

  val map: HashMap[String,String]
Method Detail

attribsTemplate

  var attribsTemplate: List[Attribute]

req

  var req: Int

add

  def add(as: List[Attribute], x: Attribute): List[Attribute]

validate

  def validate(attributes: AttributeSeq): AttributeSeq