scala.xml.parsing

# XhtmlParser

#### class XhtmlParser extends ConstructingHandler with MarkupParser with ExternalSources

An XML Parser that preserves `CDATA` blocks and knows about scala.xml.parsing.XhtmlEntities.

Source
  XhtmlParser.scala

Linear Supertypes
ExternalSources, MarkupParser, MarkupParserCommon, TokenTests, ConstructingHandler, MarkupHandler, Logged, AnyRef, Any
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. XhtmlParser
2. ExternalSources
3. MarkupParser
4. MarkupParserCommon
5. TokenTests
6. ConstructingHandler
7. MarkupHandler
8. Logged
9. AnyRef
10. Any

Implicitly

1. by any2stringadd
2. by any2stringfmt
3. by any2ArrowAssoc
4. by any2Ensuring

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Instance Constructors

1. #### new XhtmlParser(input: io.Source)

### Type Members

1. #### type AttributesType = (MetaData, NamespaceBinding)

   Definition Classes
     MarkupParser → MarkupParserCommon

2. #### type ElementType = NodeSeq

   Definition Classes
     MarkupParser → MarkupParserCommon

3. #### type InputType = io.Source

   Definition Classes
     MarkupParser → MarkupParserCommon

4. #### type NamespaceType = NamespaceBinding

   Definition Classes
     MarkupParser → MarkupParserCommon

5. #### type PositionType = Int

   Definition Classes
     MarkupParser → MarkupParserCommon

### Value Members

1. #### final def !=(arg0: AnyRef): Boolean

   Definition Classes
     AnyRef

2. #### final def !=(arg0: Any): Boolean

   Test two objects for inequality.

   Test two objects for inequality.

   returns

     `true` if !(this == that), false otherwise.

   Definition Classes
     Any

3. #### final def ##(): Int

   Equivalent to `x.hashCode` except for boxed numeric types and `null`.

   Equivalent to `x.hashCode` except for boxed numeric types and `null`. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For `null` returns a hashcode where `null.hashCode` throws a `NullPointerException`.

   returns

     a hash value consistent with ==

   Definition Classes
     AnyRef → Any

4. #### def +(other: String): String

   Implicit information
     This member is added by an implicit conversion from XhtmlParser to StringAdd performed by method any2stringadd in scala.Predef.
   Definition Classes
     StringAdd

5. #### def ->[B](y: B): (XhtmlParser, B)

   Implicit information
     This member is added by an implicit conversion from XhtmlParser to ArrowAssoc[XhtmlParser] performed by method any2ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()

6. #### final def ==(arg0: AnyRef): Boolean

   Definition Classes
     AnyRef

7. #### final def ==(arg0: Any): Boolean

   Test two objects for equality.

   Test two objects for equality. The expression `x == that` is equivalent to `if (x eq null) that eq null else x.equals(that)`.

   returns

     `true` if the receiver object is equivalent to the argument; `false` otherwise.

   Definition Classes
     Any

8. #### def appendText(pos: Int, ts: NodeBuffer, txt: String): Unit

   Definition Classes
     MarkupParser

9. #### final def asInstanceOf[T0]: T0

   Cast the receiver object to be of type `T0`.

   Cast the receiver object to be of type `T0`.

   Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression `1.asInstanceOf[String]` will throw a `ClassCastException` at runtime, while the expression `List(1).asInstanceOf[List[String]]` will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

   returns

     the receiver object.

   Definition Classes
     Any
   Exceptions thrown
     ClassCastException

     if the receiver object is not an instance of the erasure of type `T0`.

10. #### def attListDecl(name: String, attList: List[AttrDecl]): Unit

    Definition Classes
      MarkupHandler

11. #### def attrDecl(): Unit

        <! attlist := ATTLIST

    Definition Classes
      MarkupParser

12. #### val cbuf: collection.mutable.StringBuilder

    character buffer, for names

    character buffer, for names

    Attributes
      protected
    Definition Classes
      MarkupParser

13. #### def ch: Char

    The library and compiler parsers had the interesting distinction of different behavior for nextch (a function for which there are a total of two plausible behaviors, so we know the design space was fully explored.

    The library and compiler parsers had the interesting distinction of different behavior for nextch (a function for which there are a total of two plausible behaviors, so we know the design space was fully explored.) One of them returned the value of nextch before the increment and one of them the new value. So to unify code we have to at least temporarily abstract over the nextchs.

    Definition Classes
      MarkupParser → MarkupParserCommon

14. #### def ch_returning_nextch: Char

    Attributes
      protected
    Definition Classes
      MarkupParser → MarkupParserCommon

15. #### def checkPubID(s: String): Boolean

    Definition Classes
      TokenTests

16. #### def checkSysID(s: String): Boolean

    Definition Classes
      TokenTests

17. #### def clone(): AnyRef

    Create a copy of the receiver object.

    Create a copy of the receiver object.

    The default implementation of the `clone` method is platform dependent.

    returns

      a copy of the receiver object.

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
    Note

      not specified by SLS as a member of AnyRef

18. #### def comment(pos: Int, txt: String): Comment

    callback method invoked by MarkupParser after parsing comment.

    callback method invoked by MarkupParser after parsing comment.

    Definition Classes
      ConstructingHandler → MarkupHandler

19. #### def content(pscope: NamespaceBinding): NodeSeq

        content1 ::=  '<' content1 | '&' charref ...

    Definition Classes
      MarkupParser

20. #### def content1(pscope: NamespaceBinding, ts: NodeBuffer): Unit

        '<' content1 ::=  ...

    Definition Classes
      MarkupParser

21. #### var curInput: io.Source

    Attributes
      protected
    Definition Classes
      MarkupParser

22. #### var decls: List[Decl]

    Definition Classes
      MarkupHandler

23. #### var doc: Document

    Attributes
      protected
    Definition Classes
      MarkupParser

24. #### def document(): Document

        [22]     prolog      ::= XMLDecl? Misc* (doctypedecl Misc*)?
        [23]     XMLDecl     ::= ' VersionInfo EncodingDecl? SDDecl? S? '?>'
        [24]     VersionInfo ::= S 'version' Eq ("'" VersionNum "'" | '"' VersionNum '"')
        [25]     Eq          ::= S? '=' S?
        [26]     VersionNum  ::= '1.0'
        [27]     Misc        ::= Comment | PI | S

    Definition Classes
      MarkupParser

25. #### var dtd: DTD

    Definition Classes
      MarkupParser

26. #### def elem(pos: Int, pre: String, label: String, attrs: MetaData, pscope: NamespaceBinding, empty: Boolean, nodes: NodeSeq): NodeSeq

    callback method invoked by MarkupParser after parsing an element, between the elemStart and elemEnd callbacks

    callback method invoked by MarkupParser after parsing an element, between the elemStart and elemEnd callbacks

    pos

      the position in the source file

    pre

      the prefix

    label

      the local name

    attrs

      the attributes (metadata)

    empty

      `true` if the element was previously empty; `false` otherwise.

    Definition Classes
      ConstructingHandler → MarkupHandler

27. #### def elemDecl(n: String, cmstr: String): Unit

    Definition Classes
      MarkupHandler

28. #### def elemEnd(pos: Int, pre: String, label: String): Unit

    callback method invoked by MarkupParser after end-tag of element.

    callback method invoked by MarkupParser after end-tag of element.

    pos

      the position in the source file

    pre

      the prefix

    label

      the local name

    Definition Classes
      MarkupHandler

29. #### def elemStart(pos: Int, pre: String, label: String, attrs: MetaData, scope: NamespaceBinding): Unit

    callback method invoked by MarkupParser after start-tag of element.

    callback method invoked by MarkupParser after start-tag of element.

    pos

      the position in the sourcefile

    pre

      the prefix

    label

      the local name

    attrs

      the attributes (metadata)

    Definition Classes
      MarkupHandler

30. #### def element(pscope: NamespaceBinding): NodeSeq

    Definition Classes
      MarkupParser

31. #### def element1(pscope: NamespaceBinding): NodeSeq

        '<' element ::= xmlTag1 '>'  { xmlExpr | '{' simpleExpr '}' } ETag
        | xmlTag1 '/' '>'

    Definition Classes
      MarkupParser

32. #### def elementDecl(): Unit

    <! element := ELEMENT

    <! element := ELEMENT

    Definition Classes
      MarkupParser

33. #### def endDTD(n: String): Unit

    Definition Classes
      MarkupHandler

34. #### def ensuring(cond: (XhtmlParser) ⇒ Boolean, msg: ⇒ Any): XhtmlParser

    Implicit information
      This member is added by an implicit conversion from XhtmlParser to Ensuring[XhtmlParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
      Ensuring

35. #### def ensuring(cond: (XhtmlParser) ⇒ Boolean): XhtmlParser

    Implicit information
      This member is added by an implicit conversion from XhtmlParser to Ensuring[XhtmlParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
      Ensuring

36. #### def ensuring(cond: Boolean, msg: ⇒ Any): XhtmlParser

    Implicit information
      This member is added by an implicit conversion from XhtmlParser to Ensuring[XhtmlParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
      Ensuring

37. #### def ensuring(cond: Boolean): XhtmlParser

    Implicit information
      This member is added by an implicit conversion from XhtmlParser to Ensuring[XhtmlParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
      Ensuring

38. #### var ent: Map[String, EntityDecl]

    Definition Classes
      MarkupHandler

39. #### def entityDecl(): Unit

        <! element := ELEMENT

    Definition Classes
      MarkupParser

40. #### def entityRef(pos: Int, n: String): EntityRef

    callback method invoked by MarkupParser after parsing entity ref.

    callback method invoked by MarkupParser after parsing entity ref.

    Definition Classes
      ConstructingHandler → MarkupHandler
    To do

      expanding entity references

41. #### def eof: Boolean

    Definition Classes
      MarkupParser → MarkupParserCommon

42. #### final def eq(arg0: AnyRef): Boolean

    Tests whether the argument (`arg0`) is a reference to the receiver object (`this`).

    Tests whether the argument (`arg0`) is a reference to the receiver object (`this`).

    The `eq` method implements an equivalence relation on non-null instances of `AnyRef`, and has three additional properties:

    - It is consistent: for any non-null instances `x` and `y` of type `AnyRef`, multiple invocations of `x.eq(y)` consistently returns `true` or consistently returns `false`.
    - For any non-null instance `x` of type `AnyRef`, `x.eq(null)` and `null.eq(x)` returns `false`.
    - `null.eq(null)` returns `true`.

    When overriding the `equals` or `hashCode` methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (`o1 eq o2`), they should be equal to each other (`o1 == o2`) and they should hash to the same value (`o1.hashCode == o2.hashCode`).

    returns

      `true` if the argument is a reference to the receiver object; `false` otherwise.

    Definition Classes
      AnyRef

43. #### def equals(arg0: Any): Boolean

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to `eq`.

    See also `equals` in scala.Any.

    returns

      `true` if the receiver object is equivalent to the argument; `false` otherwise.

    Definition Classes
      AnyRef → Any

44. #### def errorAndResult[T](msg: String, x: T): T

    Attributes
      protected
    Definition Classes
      MarkupParserCommon

45. #### def errorNoEnd(tag: String): Nothing

    Definition Classes
      MarkupParser → MarkupParserCommon

46. #### var extIndex: Int

    Definition Classes
      MarkupParser

47. #### def extSubset(): Unit

    Definition Classes
      MarkupParser

48. #### def externalID(): ExternalID

        externalID ::= SYSTEM S syslit
        PUBLIC S pubid S syslit

    Definition Classes
      MarkupParser

49. #### def externalSource(systemId: String): io.Source

    Definition Classes
      ExternalSources

50. #### def finalize(): Unit

    Called by the garbage collector on the receiver object when there are no more references to the object.

    Called by the garbage collector on the receiver object when there are no more references to the object.

    The details of when and if the `finalize` method is invoked, as well as the interaction between `finalize` and non-local returns and exceptions, are all platform dependent.

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

      not specified by SLS as a member of AnyRef

51. #### def formatted(fmtstr: String): String

    Returns string formatted according to given `format` string.

    Returns string formatted according to given `format` string. Format strings are as for `String.format` (@see java.lang.String.format).

    Implicit information
      This member is added by an implicit conversion from XhtmlParser to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()

52. #### final def getClass(): Class[_]

    A representation that corresponds to the dynamic class of the receiver object.

    A representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

      a representation that corresponds to the dynamic class of the receiver object.

    Definition Classes
      AnyRef → Any
    Note

      not specified by SLS as a member of AnyRef

53. #### def hashCode(): Int

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in scala.Any.

    returns

      the hash code value for this object.

    Definition Classes
      AnyRef → Any

54. #### def initialize: XhtmlParser.this.type

    As the current code requires you to call nextch once manually after construction, this method formalizes that suboptimal reality.

    As the current code requires you to call nextch once manually after construction, this method formalizes that suboptimal reality.

    Definition Classes
      MarkupParser

55. #### var inpStack: List[io.Source]

    stack of inputs

    stack of inputs

    Definition Classes
      MarkupParser

56. #### val input: io.Source

    Definition Classes
      XhtmlParser → MarkupParser

57. #### def intSubset(): Unit

    "rec-xml/#ExtSubset" pe references may not occur within markup declarations

    "rec-xml/#ExtSubset" pe references may not occur within markup declarations

    Definition Classes
      MarkupParser

58. #### 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

59. #### def isAlphaDigit(c: Char): Boolean

    Definition Classes
      TokenTests

60. #### final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is `T0`.

    Test whether the dynamic type of the receiver object is `T0`.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression `1.isInstanceOf[String]` will return `false`, while the expression `List(1).isInstanceOf[List[String]]` will return `true`. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

      `true` if the receiver object is an instance of erasure of type `T0`; `false` otherwise.

    Definition Classes
      Any

61. #### def isName(s: String): Boolean

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

    See [5] of XML 1.0 specification.

    Definition Classes
      TokenTests

62. #### def isNameChar(c: Char): Boolean

    Definition Classes
      TokenTests

63. #### def isNameStart(c: Char): Boolean

    Definition Classes
      TokenTests

64. #### def isPubIDChar(ch: Char): Boolean

    Definition Classes
      TokenTests

65. #### final def isSpace(cs: Seq[Char]): Boolean

        (#x20 | #x9 | #xD | #xA)+

    Definition Classes
      TokenTests

66. #### final def isSpace(ch: Char): Boolean

        (#x20 | #x9 | #xD | #xA)

    Definition Classes
      TokenTests

67. #### 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

68. #### val isValidating: Boolean

    returns true is this markup handler is validating

    returns true is this markup handler is validating

    Definition Classes
      MarkupHandler

69. #### var lastChRead: Char

    Definition Classes
      MarkupParser

70. #### def log(msg: String): Unit

    This method should log the message given as argument somewhere as a side-effect.

    This method should log the message given as argument somewhere as a side-effect.

    msg

      message to be logged

    Definition Classes
      Logged

71. #### def lookahead(): BufferedIterator[Char]

    Create a lookahead reader which does not influence the input

    Create a lookahead reader which does not influence the input

    Definition Classes
      MarkupParser → MarkupParserCommon

72. #### def lookupElemDecl(Label: String): ElemDecl

    Definition Classes
      MarkupHandler

73. #### def markupDecl(): Unit

    Definition Classes
      MarkupParser

74. #### def markupDecl1(): Any

    Definition Classes
      MarkupParser

75. #### def mkAttributes(name: String, pscope: NamespaceBinding): (MetaData, NamespaceBinding)

    Definition Classes
      MarkupParser → MarkupParserCommon

76. #### def mkProcInstr(position: Int, name: String, text: String): ElementType

    Definition Classes
      MarkupParser → MarkupParserCommon

77. #### final def ne(arg0: AnyRef): Boolean

    Equivalent to `!(this eq that)`.

    Equivalent to `!(this eq that)`.

    returns

      `true` if the argument is not a reference to the receiver object; `false` otherwise.

    Definition Classes
      AnyRef

78. #### var nextChNeeded: Boolean

    holds the next character

    holds the next character

    Definition Classes
      MarkupParser

79. #### def nextch(): Unit

    this method tells ch to get the next character when next called

    this method tells ch to get the next character when next called

    Definition Classes
      MarkupParser → MarkupParserCommon

80. #### def notationDecl(): Unit

        'N' notationDecl ::= "OTATION"

    Definition Classes
      MarkupParser

81. #### def notationDecl(notat: String, extID: ExternalID): Unit

    Definition Classes
      MarkupHandler

82. #### final def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Definition Classes
      AnyRef
    Note

      not specified by SLS as a member of AnyRef

83. #### final def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    Definition Classes
      AnyRef
    Note

      not specified by SLS as a member of AnyRef

84. #### def parameterEntityDecl(name: String, edef: EntityDef): Unit

    Definition Classes
      MarkupHandler

85. #### def parseDTD(): Unit

    parses document type declaration and assigns it to instance variable dtd.

    parses document type declaration and assigns it to instance variable dtd.

        <! parseDTD ::= DOCTYPE name ... >

    Definition Classes
      MarkupParser

86. #### def parsedEntityDecl(name: String, edef: EntityDef): Unit

    Definition Classes
      MarkupHandler

87. #### def peReference(name: String): Unit

    Definition Classes
      MarkupHandler

88. #### def pop(): Unit

    Definition Classes
      MarkupParser

89. #### var pos: Int

    holds the position in the source file

    holds the position in the source file

    Definition Classes
      MarkupParser

90. #### val preserveWS: Boolean

    if true, does not remove surplus whitespace

    if true, does not remove surplus whitespace

    Definition Classes
      XhtmlParser → MarkupParser → ConstructingHandler

91. #### def procInstr(pos: Int, target: String, txt: String): ProcInstr

    callback method invoked by MarkupParser after parsing PI.

    callback method invoked by MarkupParser after parsing PI.

    Definition Classes
      ConstructingHandler → MarkupHandler

92. #### def prolog(): (Option[String], Option[String], Option[Boolean])

        <? prolog ::= xml S?
        // this is a bit more lenient than necessary...

    Definition Classes
      MarkupParser

93. #### def pubidLiteral(): String

        [12]       PubidLiteral ::=        '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"

    Definition Classes
      MarkupParser

94. #### def push(entityName: String): Unit

    Definition Classes
      MarkupParser

95. #### def pushExternal(systemId: String): Unit

    Definition Classes
      MarkupParser

96. #### def putChar(c: Char): collection.mutable.StringBuilder

    append Unicode character to name buffer

    append Unicode character to name buffer

    Attributes
      protected
    Definition Classes
      MarkupParser

97. #### var reachedEof: Boolean

    Definition Classes
      MarkupParser

98. #### def replacementText(entityName: String): io.Source

    Definition Classes
      MarkupHandler

99. #### def reportSyntaxError(str: String): Unit

    Definition Classes
      MarkupParser → MarkupParserCommon

100. #### def reportSyntaxError(pos: Int, str: String): Unit

     Definition Classes
       MarkupParser → MarkupParserCommon

101. #### def reportValidationError(pos: Int, str: String): Unit

     Definition Classes
       MarkupParser

102. #### def returning[T](x: T)(f: (T) ⇒ Unit): T

     Apply a function and return the passed value

     Apply a function and return the passed value

     Definition Classes
       MarkupParserCommon

103. #### def saving[A, B](getter: A, setter: (A) ⇒ Unit)(body: ⇒ B): B

     Execute body with a variable saved and restored after execution

     Execute body with a variable saved and restored after execution

     Definition Classes
       MarkupParserCommon

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

     Definition Classes
       AnyRef

105. #### def systemLiteral(): String

     attribute value, terminated by either ' or ".

     attribute value, terminated by either ' or ". value may not contain <.

         AttValue     ::= `'` { _ } `'`
         | `"` { _ } `"`

     Definition Classes
       MarkupParser

106. #### def text(pos: Int, txt: String): Text

     callback method invoked by MarkupParser after parsing text.

     callback method invoked by MarkupParser after parsing text.

     Definition Classes
       ConstructingHandler → MarkupHandler

107. #### def textDecl(): (Option[String], Option[String])

     prolog, but without standalone

     prolog, but without standalone

     Definition Classes
       MarkupParser

108. #### var tmppos: Int

     holds temporary values of pos

     holds temporary values of pos

     Definition Classes
       MarkupParser → MarkupParserCommon

109. #### def toString(): String

     Creates a String representation of this object.

     Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

     returns

       a String representation of the object.

     Definition Classes
       AnyRef → Any

110. #### def truncatedError(msg: String): Nothing

     Definition Classes
       MarkupParser → MarkupParserCommon

111. #### def unparsedEntityDecl(name: String, extID: ExternalID, notat: String): Unit

     Definition Classes
       MarkupHandler

112. #### def unreachable: Nothing

     Attributes
       protected
     Definition Classes
       MarkupParserCommon

113. #### final def wait(): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

114. #### final def wait(arg0: Long, arg1: Int): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

115. #### final def wait(arg0: Long): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

116. #### def xAttributeValue(): String

     Definition Classes
       MarkupParserCommon

117. #### def xAttributeValue(endCh: Char): String

     attribute value, terminated by either `'` or `"`.

     attribute value, terminated by either `'` or `"`. value may not contain `<`.

     endCh

       either `'` or `"`

     Definition Classes
       MarkupParserCommon

118. #### def xAttributes(pscope: NamespaceBinding): (MetaData, NamespaceBinding)

     parse attribute and create namespace scope, metadata

     parse attribute and create namespace scope, metadata

         [41] Attributes    ::= { S Name Eq AttValue }

     Definition Classes
       MarkupParser

119. #### def xCharData: NodeSeq

         '<! CharData ::= [CDATA[ ( {char} - {char}"]]>"{char} ) ']]>'

         see [15]

     Definition Classes
       MarkupParser

120. #### def xCharRef: String

     Definition Classes
       MarkupParserCommon

121. #### def xCharRef(it: Iterator[Char]): String

     Definition Classes
       MarkupParserCommon

122. #### def xCharRef(ch: () ⇒ Char, nextch: () ⇒ Unit): String

     CharRef ::= "&#" '0'.

     CharRef ::= "&#" '0'..'9' {'0'..'9'} ";" | "&#x" '0'..'9'|'A'..'F'|'a'..'f' { hexdigit } ";"

     see [66]

     Definition Classes
       MarkupParserCommon

123. #### def xComment: NodeSeq

         Comment ::= ''

         see [15]

     Definition Classes
       MarkupParser

124. #### def xEQ(): Unit

     scan [S] '=' [S]

     scan [S] '=' [S]

     Definition Classes
       MarkupParserCommon

125. #### def xEndTag(startName: String): Unit

     [42] '<' xmlEndTag ::= '<' '/' Name S? '>'

     [42] '<' xmlEndTag ::= '<' '/' Name S? '>'

     Definition Classes
       MarkupParserCommon

126. #### def xEntityValue(): String

     entity value, terminated by either ' or ".

     entity value, terminated by either ' or ". value may not contain <.

         AttValue     ::= `'` { _  } `'`
         | `"` { _ } `"`

     Definition Classes
       MarkupParser

127. #### def xHandleError(that: Char, msg: String): Unit

     Definition Classes
       MarkupParser → MarkupParserCommon

128. #### def xName: String

     actually, Name ::= (Letter | '_' | ':') (NameChar)* but starting with ':' cannot happen Name ::= (Letter | '_') (NameChar)*

     actually, Name ::= (Letter | '_' | ':') (NameChar)* but starting with ':' cannot happen Name ::= (Letter | '_') (NameChar)*

     see [5] of XML 1.0 specification

     pre-condition: ch != ':' // assured by definition of XMLSTART token post-condition: name does neither start, nor end in ':'

     Definition Classes
       MarkupParserCommon

129. #### def xProcInstr: ElementType

     '<?' ProcInstr ::= Name [S ({Char} - ({Char}'>?' {Char})]'?>'

     '<?' ProcInstr ::= Name [S ({Char} - ({Char}'>?' {Char})]'?>'

     see [15]

     Definition Classes
       MarkupParserCommon

130. #### def xSpace(): Unit

     scan [3] S ::= (#x20 | #x9 | #xD | #xA)+

     scan [3] S ::= (#x20 | #x9 | #xD | #xA)+

     Definition Classes
       MarkupParserCommon

131. #### def xSpaceOpt(): Unit

     skip optional space S?

     skip optional space S?

     Definition Classes
       MarkupParserCommon

132. #### def xTag(pscope: NamespaceType): (String, (MetaData, NamespaceBinding))

     parse a start or empty tag.

     parse a start or empty tag. [40] STag ::= '<' Name { S Attribute } [S] [44] EmptyElemTag ::= '<' Name { S Attribute } [S]

     Attributes
       protected
     Definition Classes
       MarkupParserCommon

133. #### def xTakeUntil[T](handler: (PositionType, String) ⇒ T, positioner: () ⇒ PositionType, until: String): T

     Take characters from input stream until given String "until" is seen.

     Take characters from input stream until given String "until" is seen. Once seen, the accumulated characters are passed along with the current Position to the supplied handler function.

     Attributes
       protected
     Definition Classes
       MarkupParserCommon

134. #### def xToken(that: Seq[Char]): Unit

     Definition Classes
       MarkupParserCommon

135. #### def xToken(that: Char): Unit

     Definition Classes
       MarkupParserCommon

136. #### def xmlProcInstr(): MetaData

         <? prolog ::= xml S ... ?>

     Definition Classes
       MarkupParser

137. #### def →[B](y: B): (XhtmlParser, B)

     Implicit information
       This member is added by an implicit conversion from XhtmlParser to ArrowAssoc[XhtmlParser] performed by method any2ArrowAssoc in scala.Predef.
     Definition Classes
       ArrowAssoc

### Shadowed Implicit Value Members

1. #### val self: Any

   Implicit information
     This member is added by an implicit conversion from XhtmlParser to StringAdd performed by method any2stringadd in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (xhtmlParser: StringAdd).self

   Definition Classes
     StringAdd

2. #### val self: Any

   Implicit information
     This member is added by an implicit conversion from XhtmlParser to StringFormat performed by method any2stringfmt in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (xhtmlParser: StringFormat).self

   Definition Classes
     StringFormat

### Deprecated Value Members

1. #### def x: XhtmlParser

   Implicit information
     This member is added by an implicit conversion from XhtmlParser to ArrowAssoc[XhtmlParser] performed by method any2ArrowAssoc in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (xhtmlParser: ArrowAssoc[XhtmlParser]).x

   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.10.0) Use `leftOfArrow`instead``

2. #### def x: XhtmlParser

   Implicit information
     This member is added by an implicit conversion from XhtmlParser to Ensuring[XhtmlParser] performed by method any2Ensuring in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (xhtmlParser: Ensuring[XhtmlParser]).x

   Definition Classes
     Ensuring
   Annotations
     @deprecated
   Deprecated

     (Since version 2.10.0) Use `resultOfEnsuring`instead``

### Inherited from ExternalSources

### Inherited from MarkupParser

### Inherited from MarkupParserCommon

### Inherited from TokenTests

### Inherited from ConstructingHandler

### Inherited from MarkupHandler

### Inherited from Logged

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from XhtmlParser to StringAdd

### Inherited by implicit conversion any2stringfmt from XhtmlParser to StringFormat

### Inherited by implicit conversion any2ArrowAssoc from XhtmlParser to ArrowAssoc[XhtmlParser]

### Inherited by implicit conversion any2Ensuring from XhtmlParser to Ensuring[XhtmlParser]

### Ungrouped