Packages

c

scala.xml.parsing

NoBindingFactoryAdapter

class NoBindingFactoryAdapter extends FactoryAdapter with NodeFactory[Elem]

nobinding adaptor providing callbacks to parser to create elements. implements hash-consing

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoBindingFactoryAdapter
  2. NodeFactory
  3. FactoryAdapter
  4. XMLLoader
  5. DefaultHandler2
  6. EntityResolver2
  7. DeclHandler
  8. LexicalHandler
  9. DefaultHandler
  10. ErrorHandler
  11. ContentHandler
  12. DTDHandler
  13. EntityResolver
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NoBindingFactoryAdapter()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def adapter: FactoryAdapter
    Definition Classes
    XMLLoader
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. var attribStack: List[MetaData]

    List of attributes

    List of attributes

    Previously was a mutable Stack, but is now a mutable reference to an immutable List.

    Definition Classes
    FactoryAdapter
    Since

    2.0.0

  7. def attributeDecl(eName: String, aName: String, type: String, mode: String, value: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler2 → DeclHandler
  8. val buffer: StringBuilder
    Definition Classes
    FactoryAdapter
  9. val cache: HashMap[Int, List[Elem]]
    Definition Classes
    NodeFactory
  10. var capture: Boolean
    Definition Classes
    FactoryAdapter
  11. def captureText(): Unit

    Captures text or cdata.

    Captures text or cdata.

    Definition Classes
    FactoryAdapter
  12. def characters(ch: Array[Char], offset: Int, length: Int): Unit

    Capture characters, possibly normalizing whitespace.

    Capture characters, possibly normalizing whitespace.

    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. def comment(ch: Array[Char], start: Int, length: Int): Unit

    Comment.

    Comment.

    Definition Classes
    FactoryAdapter → DefaultHandler2 → LexicalHandler
  15. def construct(hash: Int, old: List[Elem], pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: collection.Seq[Node]): Elem
    Attributes
    protected
    Definition Classes
    NodeFactory
  16. def create(pre: String, label: String, attrs: MetaData, scope: NamespaceBinding, children: collection.Seq[Node]): Elem

    From NodeFactory.

    From NodeFactory. Constructs an instance of scala.xml.Elem -- TODO: deprecate as in Elem

    Attributes
    protected
    Definition Classes
    NoBindingFactoryAdapterNodeFactory
  17. def createComment(characters: String): collection.Seq[Comment]

    Creates a comment.

    Creates a comment.

    Definition Classes
    NoBindingFactoryAdapterFactoryAdapter
  18. def createNode(pre: String, label: String, attrs: MetaData, scope: NamespaceBinding, children: List[Node]): Elem

    From FactoryAdapter.

    From FactoryAdapter. Creates a node. never creates the same node twice, using hash-consing. TODO: deprecate as in Elem, or forward to create??

    returns

    a new XML element.

    Definition Classes
    NoBindingFactoryAdapterFactoryAdapter
  19. def createPCData(characters: String): PCData

    Creates a cdata.

    Creates a cdata.

    returns

    a new PCData node.

    Definition Classes
    NoBindingFactoryAdapterFactoryAdapter
  20. def createProcInstr(target: String, data: String): collection.Seq[ProcInstr]

    Creates a processing instruction.

    Creates a processing instruction.

    Definition Classes
    NoBindingFactoryAdapterFactoryAdapter
  21. def createText(text: String): Text

    Creates a text node.

    Creates a text node.

    returns

    a new Text node.

    Definition Classes
    NoBindingFactoryAdapterFactoryAdapter
  22. var curTag: String
    Definition Classes
    FactoryAdapter
  23. def elementDecl(name: String, model: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler2 → DeclHandler
  24. def endCDATA(): Unit

    End of a CDATA section.

    End of a CDATA section.

    Definition Classes
    FactoryAdapter → DefaultHandler2 → LexicalHandler
  25. def endDTD(): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler2 → LexicalHandler
  26. def endDocument(): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  27. def endElement(uri: String, _localName: String, qname: String): Unit

    End element.

    End element.

    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
    Exceptions thrown

    org.xml.sax.SAXException if ..

  28. def endEntity(name: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler2 → LexicalHandler
  29. def endPrefixMapping(prefix: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  30. var epilogue: List[Node]
    Definition Classes
    FactoryAdapter
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def eqElements(ch1: collection.Seq[Node], ch2: collection.Seq[Node]): Boolean
    Definition Classes
    NodeFactory
  33. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  34. def error(arg0: org.xml.sax.SAXParseException): Unit
    Definition Classes
    DefaultHandler → ErrorHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  35. def externalEntityDecl(name: String, publicId: String, systemId: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler2 → DeclHandler
  36. def fatalError(arg0: org.xml.sax.SAXParseException): Unit
    Definition Classes
    DefaultHandler → ErrorHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  37. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. def getExternalSubset(arg0: String, arg1: String): org.xml.sax.InputSource
    Definition Classes
    DefaultHandler2 → EntityResolver2
    Annotations
    @throws( classOf[org.xml.sax.SAXException] ) @throws( classOf[java.io.IOException] )
  40. var hStack: List[Node]

    List of elements

    List of elements

    Previously was a mutable Stack, but is now a mutable reference to an immutable List.

    Definition Classes
    FactoryAdapter
    Since

    2.0.0

  41. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def ignorableWhitespace(ch: Array[Char], offset: Int, length: Int): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  43. val ignoreComments: Boolean
    Definition Classes
    NodeFactory
  44. val ignoreProcInstr: Boolean
    Definition Classes
    NodeFactory
  45. def internalEntityDecl(name: String, value: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler2 → DeclHandler
  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. def load(reader: Reader): Node
    Definition Classes
    XMLLoader
  48. def load(inputStream: InputStream): Node
    Definition Classes
    XMLLoader
  49. def load(sysId: String): Node
    Definition Classes
    XMLLoader
  50. def load(url: URL): Node
    Definition Classes
    XMLLoader
  51. def load(inputSource: InputSource): Node
    Definition Classes
    XMLLoader
  52. def loadDocument(inputSource: InputSource, xmlReader: XMLReader): Document

    Load XML document from the inputSource using the xmlReader.

    Load XML document from the inputSource using the xmlReader.

    Definition Classes
    FactoryAdapter
  53. def loadDocument(reader: Reader): Document
    Definition Classes
    XMLLoader
  54. def loadDocument(inputStream: InputStream): Document
    Definition Classes
    XMLLoader
  55. def loadDocument(sysId: String): Document
    Definition Classes
    XMLLoader
  56. def loadDocument(url: URL): Document
    Definition Classes
    XMLLoader
  57. def loadDocument(inputSource: InputSource): Document

    Loads XML Document.

    Loads XML Document.

    Definition Classes
    XMLLoader
  58. def loadFile(fileDescriptor: FileDescriptor): Node
    Definition Classes
    XMLLoader
  59. def loadFile(file: File): Node
    Definition Classes
    XMLLoader
  60. def loadFile(fileName: String): Node
    Definition Classes
    XMLLoader
  61. def loadFileDocument(fileDescriptor: FileDescriptor): Document
    Definition Classes
    XMLLoader
  62. def loadFileDocument(file: File): Document
    Definition Classes
    XMLLoader
  63. def loadFileDocument(fileName: String): Document
    Definition Classes
    XMLLoader
  64. def loadFileNodes(fileDescriptor: FileDescriptor): Seq[Node]
    Definition Classes
    XMLLoader
  65. def loadFileNodes(file: File): Seq[Node]
    Definition Classes
    XMLLoader
  66. def loadFileNodes(fileName: String): Seq[Node]
    Definition Classes
    XMLLoader
  67. def loadNodes(reader: Reader): Seq[Node]
    Definition Classes
    XMLLoader
  68. def loadNodes(inputStream: InputStream): Seq[Node]
    Definition Classes
    XMLLoader
  69. def loadNodes(sysId: String): Seq[Node]
    Definition Classes
    XMLLoader
  70. def loadNodes(url: URL): Seq[Node]
    Definition Classes
    XMLLoader
  71. def loadNodes(inputSource: InputSource): Seq[Node]

    Load XML nodes, including comments and processing instructions that precede and follow the root element.

    Load XML nodes, including comments and processing instructions that precede and follow the root element.

    Definition Classes
    XMLLoader
  72. def loadString(string: String): Node
    Definition Classes
    XMLLoader
  73. def loadStringDocument(string: String): Document
    Definition Classes
    XMLLoader
  74. def loadStringNodes(string: String): Seq[Node]
    Definition Classes
    XMLLoader
  75. def loadXML(inputSource: InputSource, parser: SAXParser): Node

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

    Loads XML from the given InputSource, using the supplied parser or reader. The methods available in scala.xml.XML use the XML parser in the JDK (unless another parser is present on the classpath).

    Definition Classes
    XMLLoader
  76. def loadXMLNodes(inputSource: InputSource, parser: SAXParser): Seq[Node]
    Definition Classes
    XMLLoader
  77. def makeComment(s: String): collection.Seq[Comment]
    Definition Classes
    NodeFactory
  78. def makeNode(pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: collection.Seq[Node]): Elem
    Definition Classes
    NodeFactory
  79. def makePCData(s: String): PCData
    Definition Classes
    NodeFactory
  80. def makeProcInstr(t: String, s: String): collection.Seq[ProcInstr]
    Definition Classes
    NodeFactory
  81. def makeText(s: String): Text
    Definition Classes
    NodeFactory
  82. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  83. def nodeContainsText(label: String): Boolean

    True.

    True. Every XML node may contain text that the application needs

    returns

    true if element named localName contains text.

    Definition Classes
    NoBindingFactoryAdapterFactoryAdapter
  84. def nodeEquals(n: Node, pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: collection.Seq[Node]): Boolean
    Definition Classes
    NodeFactory
  85. val normalizeWhitespace: Boolean
    Definition Classes
    FactoryAdapter
  86. def notationDecl(name: String, publicId: String, systemId: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → DTDHandler
  87. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  88. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  89. def parser: SAXParser
    Definition Classes
    XMLLoader
  90. def processingInstruction(target: String, data: String): Unit

    Processing instruction.

    Processing instruction.

    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  91. var prolog: List[Node]
    Definition Classes
    FactoryAdapter
  92. def reader: org.xml.sax.XMLReader
    Definition Classes
    XMLLoader
  93. def resolveEntity(arg0: String, arg1: String): org.xml.sax.InputSource
    Definition Classes
    DefaultHandler2 → DefaultHandler → EntityResolver
    Annotations
    @throws( classOf[org.xml.sax.SAXException] ) @throws( classOf[java.io.IOException] )
  94. def resolveEntity(arg0: String, arg1: String, arg2: String, arg3: String): org.xml.sax.InputSource
    Definition Classes
    DefaultHandler2 → EntityResolver2
    Annotations
    @throws( classOf[org.xml.sax.SAXException] ) @throws( classOf[java.io.IOException] )
  95. var rootElem: Node
    Definition Classes
    FactoryAdapter
  96. var scopeStack: List[NamespaceBinding]

    List of namespaces

    List of namespaces

    Previously was a mutable Stack, but is now a mutable reference to an immutable List.

    Definition Classes
    FactoryAdapter
    Since

    2.0.0

  97. def setDocumentLocator(locator: Locator): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  98. def skippedEntity(name: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  99. def startCDATA(): Unit

    Start of a CDATA section.

    Start of a CDATA section.

    Definition Classes
    FactoryAdapter → DefaultHandler2 → LexicalHandler
  100. def startDTD(name: String, publicId: String, systemId: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler2 → LexicalHandler
  101. def startDocument(): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  102. def startElement(uri: String, _localName: String, qname: String, attributes: Attributes): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  103. def startEntity(name: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler2 → LexicalHandler
  104. def startPrefixMapping(prefix: String, uri: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  105. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  106. var tagStack: List[String]

    List of element names

    List of element names

    Previously was a mutable Stack, but is now a mutable reference to an immutable List.

    Definition Classes
    FactoryAdapter
    Since

    2.0.0

  107. def toString(): String
    Definition Classes
    AnyRef → Any
  108. def unparsedEntityDecl(name: String, publicId: String, systemId: String, notationName: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → DTDHandler
  109. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  110. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  111. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  112. def warning(arg0: org.xml.sax.SAXParseException): Unit
    Definition Classes
    DefaultHandler → ErrorHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )

Inherited from NodeFactory[Elem]

Inherited from FactoryAdapter

Inherited from XMLLoader[Node]

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 AnyRef

Inherited from Any

Ungrouped