scala.xml.parsing

FactoryAdapter

class FactoryAdapter extends DefaultHandler with XMLLoader[Node]

SAX adapter class, for use with Java SAX parser . Keeps track of namespace bindings, without relying on namespace handling of the underlying SAX parser.

attributes: abstract
known subclasses: NoBindingFactoryAdapter
source: FactoryAdapter.scala

Inherited

  1. Hide All
  2. Show all
  1. XMLLoader
  2. DefaultHandler
  3. ErrorHandler
  4. ContentHandler
  5. DTDHandler
  6. EntityResolver
  7. AnyRef
  8. Any

Visibility

  1. Public
  2. All

Instance constructors

  1. new FactoryAdapter()

Value Members

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

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

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

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

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

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

    o == arg0 is the same as o.equals(arg0).

  8. def adapter: FactoryAdapter

  9. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  10. val attribStack: Stack[MetaData]

  11. val buffer: StringBuilder

  12. var capture: Boolean

  13. def captureText(): Unit

    captures text, possibly normalizing whitespace

  14. def characters(ch: Array[Char], offset: Int, length: Int): Unit

    Characters .

  15. def clone(): AnyRef

    This method creates and returns a copy of the receiver object .

  16. def createNode(pre: String, elemName: String, attribs: MetaData, scope: NamespaceBinding, chIter: List[Node]): Node

    creates an new non-text(tree) node .

  17. def createProcInstr(target: String, data: String): Seq[ProcInstr]

    creates a new processing instruction node .

  18. def createText(text: String): Text

    creates a Text node .

  19. var curTag: String

  20. def endDocument(): Unit

  21. def endElement(uri: String, _localName: String, qname: String): Unit

    End element .

  22. def endPrefixMapping(arg0: String): Unit

  23. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  24. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

  25. def error(arg0: SAXParseException): Unit

  26. def fatalError(arg0: SAXParseException): Unit

  27. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object .

  28. def getClass(): java.lang.Class[_ <: java.lang.Object]

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

  29. val hStack: Stack[Node]

  30. def hashCode(): Int

    Returns a hash code value for the object .

  31. def ignorableWhitespace(arg0: Array[Char], arg1: Int, arg2: Int): Unit

  32. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  33. def load(url: URL): Node

  34. def load(source: InputSource): Node

  35. def load(sysID: String): Node

  36. def load(reader: Reader): Node

  37. def load(is: InputStream): Node

    loads XML from given InputStream, Reader, sysID, InputSource, or URL .

  38. def loadFile(name: String): Node

  39. def loadFile(fd: FileDescriptor): Node

  40. def loadFile(file: File): Node

    Loads XML from the given file, file descriptor, or filename .

  41. def loadString(string: String): Node

    Loads XML from the given String .

  42. def loadXML(source: InputSource, parser: SAXParser): Node

    Loads XML from the given InputSource, using the supplied parser .

  43. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  44. def nodeContainsText(localName: String): Boolean

    Tests if an XML element contains text .

  45. val normalizeWhitespace: Boolean

  46. def notationDecl(arg0: String, arg1: String, arg2: String): Unit

  47. def notify(): Unit

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

  48. def notifyAll(): Unit

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

  49. def parser: SAXParser

  50. def processingInstruction(target: String, data: String): Unit

    Processing instruction .

  51. def resolveEntity(arg0: String, arg1: String): InputSource

  52. var rootElem: Node

  53. var scopeStack: Stack[NamespaceBinding]

  54. def setDocumentLocator(arg0: Locator): Unit

  55. def skippedEntity(arg0: String): Unit

  56. def startDocument(): Unit

  57. def startElement(uri: String, _localName: String, qname: String, attributes: Attributes): Unit

  58. def startPrefixMapping(arg0: String, arg1: String): Unit

  59. def synchronized[T0](arg0: T0): T0

  60. val tagStack: Stack[String]

  61. def toString(): String

    Returns a string representation of the object .

  62. def unparsedEntityDecl(arg0: String, arg1: String, arg2: String, arg3: String): Unit

  63. def wait(): Unit

  64. def wait(arg0: Long, arg1: Int): Unit

  65. def wait(arg0: Long): Unit

  66. def warning(arg0: SAXParseException): Unit