c

scala.xml.dtd

PublicID

case class PublicID(publicId: String, systemId: String) extends ExternalID with Product with Serializable

a public identifier (see http://www.w3.org/QA/2002/04/valid-dtd-list.html).

publicId

the public identifier literal

systemId

(can be null for notation pubIDs) the system identifier literal

Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, ExternalID, TokenTests, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PublicID
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ExternalID
  7. TokenTests
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PublicID(publicId: String, systemId: String)

    publicId

    the public identifier literal

    systemId

    (can be null for notation pubIDs) the system identifier literal

Value Members

  1. def attribute: MetaData

    always empty

  2. def buildString(sb: StringBuilder): StringBuilder
    Definition Classes
    ExternalID
  3. def checkPubID(s: String): Boolean
    Definition Classes
    TokenTests
  4. def checkSysID(s: String): Boolean
    Definition Classes
    TokenTests
  5. def child: collection.immutable.Nil.type

    always empty

  6. def isAlpha(c: Char): Boolean

    These are 99% sure to be redundant but refactoring on the safe side.

    These are 99% sure to be redundant but refactoring on the safe side.

    Definition Classes
    TokenTests
  7. def isAlphaDigit(c: Char): Boolean
    Definition Classes
    TokenTests
  8. def isName(s: String): Boolean

    Name ::= ( Letter | '_' ) (NameChar)*

    See [5] of XML 1.0 specification.

    Definition Classes
    TokenTests
  9. def isNameChar(ch: Char): Boolean

    NameChar ::= Letter | Digit | '.' | '-' | '_' | ':'
               | CombiningChar | Extender

    See [4] and Appendix B of XML 1.0 specification.

    Definition Classes
    TokenTests
  10. def isNameStart(ch: Char): 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

    Definition Classes
    TokenTests
  11. def isPubIDChar(ch: Char): Boolean
    Definition Classes
    TokenTests
  12. final def isSpace(cs: Seq[Char]): Boolean

    (#x20 | #x9 | #xD | #xA)+
    Definition Classes
    TokenTests
  13. final def isSpace(ch: Char): Boolean

    (#x20 | #x9 | #xD | #xA)
    Definition Classes
    TokenTests
  14. def isValidIANAEncoding(ianaEncoding: Seq[Char]): Boolean

    Returns true if the encoding name is a valid IANA encoding.

    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.

    ianaEncoding

    The IANA encoding name.

    Definition Classes
    TokenTests
  15. def label: String

    the constant "#PI"

  16. val publicId: String
    Definition Classes
    PublicIDExternalID
  17. def quoted(s: String): String
    Definition Classes
    ExternalID
  18. val systemId: String
    Definition Classes
    PublicIDExternalID
  19. def toString(): String
    Definition Classes
    ExternalID → AnyRef → Any