|
Scala 2
|
class
TokenTests
extends
java.lang.Object with
ScalaObjectDef Summary | |
def
checkPubID
( s : java.lang.String )
: scala.Boolean
|
|
def
checkSysID
( s : java.lang.String )
: scala.Boolean
|
|
def
isName
( s : java.lang.String )
: scala.Boolean
Name ::= ( Letter | '_' ) (NameChar) see [5] of XML 1.0 specification |
|
def
isNameChar
( ch : scala.Char )
: scala.Boolean
NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender see [4] and Appendix B of XML 1.0 specification |
|
def
isNameStart
( ch : scala.Char )
: scala.Boolean
NameStart ::= ( Letter | '_' ) where Letter means in one of the Unicode general categories { Ll, Lu, Lo, Lt, Nl } We do not allow a name to start with ':'. see [3] and Appendix B of XML 1.0 specification |
|
def
isPubIDChar
( ch : scala.Char )
: scala.Boolean
|
|
final
|
def
isSpace
( ch : scala.Char )
: scala.Boolean
(#x20 | #x9 | #xD | #xA) |
final
|
def
isSpace
( cs : Seq )
: scala.Boolean
(#x20 | #x9 | #xD | #xA)+ |
def
isValidIANAEncoding
( ianaEncoding : Seq )
: scala.Boolean
Returns true if the encoding name is a valid IANA encoding. This method does not verify that there is a decoder available for this encoding, only that the characters are valid for an IANA encoding name. |
Def Detail |
def
checkPubID
( s : java.lang.String ) : scala.Boolean
def
checkSysID
( s : java.lang.String ) : scala.Boolean
def
isName
( s : java.lang.String ) : scala.Boolean
def
isNameChar
( ch : scala.Char ) : scala.Boolean
def
isNameStart
( ch : scala.Char ) : scala.Boolean
def
isPubIDChar
( ch : scala.Char ) : scala.Boolean
def
isSpace
( ch : scala.Char ) : scala.Boolean
def
isSpace
( cs : Seq ) : scala.Boolean
def
isValidIANAEncoding
( ianaEncoding : Seq ) : scala.Boolean