Scala Library
|
|
scala/xml/pull/XMLEventReader.scala
]
class
Parser
extends
MarkupHandler with
MarkupParser with
ExternalSources with
java.lang.RunnableValue Summary | |
final val
|
ignore_node : Elem |
lazy val
|
input : Source |
val
|
preserveWS
: Boolean
if true, does not remove surplus whitespace
|
Values and Variables inherited from MarkupParser | |
curInput, inpStack, pos, extIndex, tmppos, ch, cbuf, dtd, doc, eof |
Values and Variables inherited from MarkupHandler | |
isValidating, decls, ent |
Method Summary | |
def
|
comment
(pos : Int, txt : java.lang.String) : NodeSeq
callback method invoked by MarkupParser after parsing comment.
|
final def
|
elem
(pos : Int, pre : java.lang.String, label : java.lang.String, attrs : MetaData, pscope : NamespaceBinding, nodes : NodeSeq) : NodeSeq
callback method invoked by MarkupParser after parsing an elementm,
between the elemStart and elemEnd callbacks
|
override def
|
elemEnd
(pos : Int, pre : java.lang.String, label : java.lang.String) : Unit
callback method invoked by MarkupParser after end-tag of element.
|
override def
|
elemStart
(pos : Int, pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding) : Unit
callback method invoked by MarkupParser after start-tag of element.
|
def
|
entityRef
(pos : Int, n : java.lang.String) : NodeSeq
callback method invoked by MarkupParser after parsing entity ref.
|
def
|
procInstr
(pos : Int, target : java.lang.String, txt : java.lang.String) : NodeSeq
callback method invoked by MarkupParser after parsing PI.
|
override def
|
run : Unit |
def
|
text
(pos : Int, txt : java.lang.String) : NodeSeq
callback method invoked by MarkupParser after parsing text.
|
Methods inherited from ExternalSources | |
externalSource |
Methods inherited from MarkupParser | |
xmlProcInstr, prolog, textDecl, document, putChar, nextch, xToken, xToken, xAttributes, xAttributeValue, xEntityValue, xTag, xEndTag, xCharData, xCharRef, xComment, appendText, content1, content, externalID, parseDTD, element, element1, xName, xEQ, xSpaceOpt, xSpace, xProcInstr, xText, systemLiteral, pubidLiteral, extSubset, markupDecl1, markupDecl, intSubset, elementDecl, attrDecl, entityDecl, notationDecl, reportSyntaxError, reportSyntaxError, reportValidationError, push, pushExternal, pop, normalizeAttributeValue |
Methods inherited from TokenTests | |
isSpace, isSpace, isNameChar, isNameStart, isName, isPubIDChar, isValidIANAEncoding, checkSysID, checkPubID |
Methods inherited from MarkupHandler | |
lookupElemDecl, replacementText, endDTD, elemDecl, attListDecl, parameterEntityDecl, parsedEntityDecl, unparsedEntityDecl, notationDecl, peReference |
Methods inherited from Logged | |
log |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
val
preserveWS : Boolean
lazy val
input : Source
final
val
ignore_node : Elem
Method Details |
override
def
elemStart(pos : Int, pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding) : Unit
pos -
the position in the sourcefilepre -
the prefixlabel -
the local nameattrs -
the attributes (metadata)override
def
elemEnd(pos : Int, pre : java.lang.String, label : java.lang.String) : Unit
pos -
the position in the source filepre -
the prefixlabel -
the local nameattrs -
the attributes (metadata)final
def
elem(pos : Int, pre : java.lang.String, label : java.lang.String, attrs : MetaData, pscope : NamespaceBinding, nodes : NodeSeq) : NodeSeq
pos -
the position in the source filepre -
the prefixlabel -
the local nameattrs -
the attributes (metadata)args -
the children of this element
def
procInstr(pos : Int, target : java.lang.String, txt : java.lang.String) : NodeSeq
pos -
the position in the source filetarget -
...txt -
...
def
comment(pos : Int, txt : java.lang.String) : NodeSeq
pos -
the position in the source filecomment -
...
def
entityRef(pos : Int, n : java.lang.String) : NodeSeq
def
text(pos : Int, txt : java.lang.String) : NodeSeq
override
def
run : Unit
Scala Library
|
|