com.codecommit.antixml

NodeSeqSAXHandler

class NodeSeqSAXHandler extends DefaultHandler2

Defines a SAX2 handler which produces an instance of Group[Elem] as a result. This is the handler which is used internally by SAXParser. It is provided as part of the public API to allow Anti-XML to be used with alternative SAX2 event sources (such as HTML parsers like TagSoup). The resulting Group is obtained (at the conclusion of the parse) from the result() method.

Source
NodeSeqSAXHandler.scala
See also

SAXParser

Linear Supertypes
DefaultHandler2, EntityResolver2, DeclHandler, LexicalHandler, DefaultHandler, ErrorHandler, ContentHandler, DTDHandler, EntityResolver, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. NodeSeqSAXHandler
  2. DefaultHandler2
  3. EntityResolver2
  4. DeclHandler
  5. LexicalHandler
  6. DefaultHandler
  7. ErrorHandler
  8. ContentHandler
  9. DTDHandler
  10. EntityResolver
  11. AnyRef
  12. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NodeSeqSAXHandler ()

Value Members

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

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def attributeDecl (arg0: String, arg1: String, arg2: String, arg3: String, arg4: String): Unit

    Definition Classes
    DefaultHandler2 → DeclHandler
    Annotations
    @throws()
  8. def characters (ch: Array[Char], start: Int, length: Int): Unit

    Definition Classes
    NodeSeqSAXHandler → DefaultHandler → ContentHandler
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def comment (arg0: Array[Char], arg1: Int, arg2: Int): Unit

    Definition Classes
    DefaultHandler2 → LexicalHandler
    Annotations
    @throws()
  11. def elementDecl (arg0: String, arg1: String): Unit

    Definition Classes
    DefaultHandler2 → DeclHandler
    Annotations
    @throws()
  12. def endCDATA (): Unit

    Definition Classes
    NodeSeqSAXHandler → DefaultHandler2 → LexicalHandler
  13. def endDTD (): Unit

    Definition Classes
    DefaultHandler2 → LexicalHandler
    Annotations
    @throws()
  14. def endDocument (): Unit

    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws()
  15. def endElement (uri: String, localName: String, qName: String): Unit

    Definition Classes
    NodeSeqSAXHandler → DefaultHandler → ContentHandler
  16. def endEntity (arg0: String): Unit

    Definition Classes
    DefaultHandler2 → LexicalHandler
    Annotations
    @throws()
  17. def endPrefixMapping (prefix: String): Unit

    Definition Classes
    NodeSeqSAXHandler → DefaultHandler → ContentHandler
  18. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def error (arg0: SAXParseException): Unit

    Definition Classes
    DefaultHandler → ErrorHandler
    Annotations
    @throws()
  21. def externalEntityDecl (arg0: String, arg1: String, arg2: String): Unit

    Definition Classes
    DefaultHandler2 → DeclHandler
    Annotations
    @throws()
  22. def fatalError (arg0: SAXParseException): Unit

    Definition Classes
    DefaultHandler → ErrorHandler
    Annotations
    @throws()
  23. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  25. def getExternalSubset (arg0: String, arg1: String): InputSource

    Definition Classes
    DefaultHandler2 → EntityResolver2
    Annotations
    @throws() @throws()
  26. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  27. def ignorableWhitespace (arg0: Array[Char], arg1: Int, arg2: Int): Unit

    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws()
  28. def internalEntityDecl (arg0: String, arg1: String): Unit

    Definition Classes
    DefaultHandler2 → DeclHandler
    Annotations
    @throws()
  29. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  30. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  31. def notationDecl (arg0: String, arg1: String, arg2: String): Unit

    Definition Classes
    DefaultHandler → DTDHandler
    Annotations
    @throws()
  32. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  33. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  34. def processingInstruction (arg0: String, arg1: String): Unit

    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws()
  35. def resolveEntity (arg0: String, arg1: String): InputSource

    Definition Classes
    DefaultHandler2 → DefaultHandler → EntityResolver
    Annotations
    @throws() @throws()
  36. def resolveEntity (arg0: String, arg1: String, arg2: String, arg3: String): InputSource

    Definition Classes
    DefaultHandler2 → EntityResolver2
    Annotations
    @throws() @throws()
  37. def result (): Group[Elem]

    Returns the Group instance resulting from the SAX2 event stream.

    Returns the Group instance resulting from the SAX2 event stream. This method is not thread-safe and should only be called once (in fact, calling it multiple times will throw an exception). Additionally, this method should only be called after the SAX2 stream has fully completed. The result of this method is undefined if invoked prematurely.

  38. def setDocumentLocator (arg0: Locator): Unit

    Definition Classes
    DefaultHandler → ContentHandler
  39. def skippedEntity (entity: String): Unit

    Definition Classes
    NodeSeqSAXHandler → DefaultHandler → ContentHandler
  40. def startCDATA (): Unit

    Definition Classes
    NodeSeqSAXHandler → DefaultHandler2 → LexicalHandler
  41. def startDTD (arg0: String, arg1: String, arg2: String): Unit

    Definition Classes
    DefaultHandler2 → LexicalHandler
    Annotations
    @throws()
  42. def startDocument (): Unit

    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws()
  43. def startElement (uri: String, localName: String, qName: String, attrs: Attributes): Unit

    Definition Classes
    NodeSeqSAXHandler → DefaultHandler → ContentHandler
  44. def startEntity (arg0: String): Unit

    Definition Classes
    DefaultHandler2 → LexicalHandler
    Annotations
    @throws()
  45. def startPrefixMapping (prefix: String, namespace: String): Unit

    Definition Classes
    NodeSeqSAXHandler → DefaultHandler → ContentHandler
  46. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  47. def toString (): String

    Definition Classes
    AnyRef → Any
  48. def unparsedEntityDecl (arg0: String, arg1: String, arg2: String, arg3: String): Unit

    Definition Classes
    DefaultHandler → DTDHandler
    Annotations
    @throws()
  49. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  50. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  51. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  52. def warning (arg0: SAXParseException): Unit

    Definition Classes
    DefaultHandler → ErrorHandler
    Annotations
    @throws()

Inherited from DefaultHandler2

Inherited from EntityResolver2

Inherited from DeclHandler

Inherited from LexicalHandler

Inherited from DefaultHandler

Inherited from ErrorHandler

Inherited from ContentHandler

Inherited from DTDHandler

Inherited from EntityResolver

Inherited from AnyRef

Inherited from Any