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(arg0: String, arg1: String, arg2: String, arg3: String, arg4: String): Unit
    Definition Classes
    DefaultHandler2 → DeclHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  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(arg0: String, arg1: String): Unit
    Definition Classes
    DefaultHandler2 → DeclHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  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
    DefaultHandler2 → LexicalHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  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(arg0: String): Unit
    Definition Classes
    DefaultHandler2 → LexicalHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  29. def endPrefixMapping(arg0: String): Unit
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  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(arg0: String, arg1: String, arg2: String): Unit
    Definition Classes
    DefaultHandler2 → DeclHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  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(arg0: Array[Char], arg1: Int, arg2: Int): Unit
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  43. val ignoreComments: Boolean
    Definition Classes
    NodeFactory
  44. val ignoreProcInstr: Boolean
    Definition Classes
    NodeFactory
  45. def internalEntityDecl(arg0: String, arg1: String): Unit
    Definition Classes
    DefaultHandler2 → DeclHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. def load(url: URL): Node
    Definition Classes
    XMLLoader
  48. def load(source: InputSource): Node
    Definition Classes
    XMLLoader
  49. def load(sysID: String): Node
    Definition Classes
    XMLLoader
  50. def load(reader: Reader): Node
    Definition Classes
    XMLLoader
  51. def load(is: InputStream): Node

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

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

    Definition Classes
    XMLLoader
  52. def loadFile(name: String): Node
    Definition Classes
    XMLLoader
  53. def loadFile(fd: FileDescriptor): Node
    Definition Classes
    XMLLoader
  54. def loadFile(file: File): Node

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

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

    Definition Classes
    XMLLoader
  55. def loadFileNodes(name: String): Seq[Node]
    Definition Classes
    XMLLoader
  56. def loadFileNodes(fd: FileDescriptor): Seq[Node]
    Definition Classes
    XMLLoader
  57. def loadFileNodes(file: File): 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
  58. def loadNodes(url: URL): Seq[Node]
    Definition Classes
    XMLLoader
  59. def loadNodes(source: InputSource): Seq[Node]
    Definition Classes
    XMLLoader
  60. def loadNodes(sysID: String): Seq[Node]
    Definition Classes
    XMLLoader
  61. def loadNodes(reader: Reader): Seq[Node]
    Definition Classes
    XMLLoader
  62. def loadNodes(is: InputStream): Seq[Node]
    Definition Classes
    XMLLoader
  63. def loadString(string: String): Node

    Loads XML from the given String.

    Loads XML from the given String.

    Definition Classes
    XMLLoader
  64. def loadStringNodes(string: String): Seq[Node]
    Definition Classes
    XMLLoader
  65. def loadXML(source: InputSource, parser: SAXParser): Node

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

    Loads XML from the given InputSource, using the supplied parser. The methods available in scala.xml.XML use the XML parser in the JDK.

    Definition Classes
    XMLLoader
  66. def loadXMLNodes(source: InputSource, parser: SAXParser): Seq[Node]
    Definition Classes
    XMLLoader
  67. def makeComment(s: String): collection.Seq[Comment]
    Definition Classes
    NodeFactory
  68. def makeNode(pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: collection.Seq[Node]): Elem
    Definition Classes
    NodeFactory
  69. def makePCData(s: String): PCData
    Definition Classes
    NodeFactory
  70. def makeProcInstr(t: String, s: String): collection.Seq[ProcInstr]
    Definition Classes
    NodeFactory
  71. def makeText(s: String): Text
    Definition Classes
    NodeFactory
  72. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  73. 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
  74. def nodeEquals(n: Node, pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: collection.Seq[Node]): Boolean
    Definition Classes
    NodeFactory
  75. val normalizeWhitespace: Boolean
    Definition Classes
    FactoryAdapter
  76. def notationDecl(arg0: String, arg1: String, arg2: String): Unit
    Definition Classes
    DefaultHandler → DTDHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  77. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  78. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  79. def parser: SAXParser
    Definition Classes
    XMLLoader
  80. def processingInstruction(target: String, data: String): Unit

    Processing instruction.

    Processing instruction.

    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  81. var prolog: List[Node]
    Definition Classes
    FactoryAdapter
  82. 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] )
  83. 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] )
  84. var rootElem: Node
    Definition Classes
    FactoryAdapter
  85. 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

  86. def setDocumentLocator(arg0: Locator): Unit
    Definition Classes
    DefaultHandler → ContentHandler
  87. def skippedEntity(arg0: String): Unit
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  88. def startCDATA(): Unit

    Start of a CDATA section.

    Start of a CDATA section.

    Definition Classes
    FactoryAdapter → DefaultHandler2 → LexicalHandler
  89. def startDTD(arg0: String, arg1: String, arg2: String): Unit
    Definition Classes
    DefaultHandler2 → LexicalHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  90. def startDocument(): Unit
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  91. def startElement(uri: String, _localName: String, qname: String, attributes: Attributes): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  92. def startEntity(arg0: String): Unit
    Definition Classes
    DefaultHandler2 → LexicalHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  93. def startPrefixMapping(prefix: String, uri: String): Unit
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  94. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  95. 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

  96. def toString(): String
    Definition Classes
    AnyRef → Any
  97. def unparsedEntityDecl(arg0: String, arg1: String, arg2: String, arg3: String): Unit
    Definition Classes
    DefaultHandler → DTDHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  98. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  100. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  101. 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