You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: shared/src/main/scala/scala/xml/parsing/FactoryAdapter.scala
+34-5
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,8 @@ abstract class FactoryAdapter extends DefaultHandler2 with factory.XMLLoader[Nod
43
43
varrootElem:Node= _
44
44
45
45
valbuffer=newStringBuilder()
46
+
privatevarinCDATA:Boolean=false
47
+
46
48
/** List of attributes
47
49
*
48
50
* Previously was a mutable [[scala.collection.mutable.Stack Stack]], but is now a mutable reference to an immutable [[scala.collection.immutable.List List]].
@@ -100,6 +102,13 @@ abstract class FactoryAdapter extends DefaultHandler2 with factory.XMLLoader[Nod
100
102
*/
101
103
defcreateText(text: String):Text// abstract
102
104
105
+
/**
106
+
* creates a PCData node.
107
+
* @paramtext
108
+
* @return a new PCData node.
109
+
*/
110
+
defcreatePCData(text: String):PCData// abstract
111
+
103
112
/**
104
113
* creates a new processing instruction node.
105
114
*/
@@ -117,7 +126,7 @@ abstract class FactoryAdapter extends DefaultHandler2 with factory.XMLLoader[Nod
0 commit comments