Class

scala.xml.parsing

NoBindingFactoryAdapter

Related Doc: package parsing

Permalink

class NoBindingFactoryAdapter extends FactoryAdapter with NodeFactory[Elem]

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

Linear Supertypes
NodeFactory[Elem], FactoryAdapter, XMLLoader[Node], DefaultHandler, ErrorHandler, ContentHandler, DTDHandler, org.xml.sax.EntityResolver, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoBindingFactoryAdapter
  2. NodeFactory
  3. FactoryAdapter
  4. XMLLoader
  5. DefaultHandler
  6. ErrorHandler
  7. ContentHandler
  8. DTDHandler
  9. EntityResolver
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NoBindingFactoryAdapter()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def adapter: FactoryAdapter

    Permalink
    Definition Classes
    XMLLoader
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val attribStack: Stack[MetaData]

    Permalink
    Definition Classes
    FactoryAdapter
  7. val buffer: collection.mutable.StringBuilder

    Permalink
    Definition Classes
    FactoryAdapter
  8. val cache: HashMap[Int, List[Elem]]

    Permalink
    Definition Classes
    NodeFactory
  9. var capture: Boolean

    Permalink
    Definition Classes
    FactoryAdapter
  10. def captureText(): Unit

    Permalink

    captures text, possibly normalizing whitespace

    captures text, possibly normalizing whitespace

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

    Permalink

    Characters.

    Characters.

    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def construct(hash: Int, old: List[Elem], pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Elem

    Permalink
    Attributes
    protected
    Definition Classes
    NodeFactory
  14. def create(pre: String, label: String, attrs: MetaData, scope: NamespaceBinding, children: Seq[Node]): Elem

    Permalink

    From NodeFactory.

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

    Attributes
    protected
    Definition Classes
    NoBindingFactoryAdapterNodeFactory
  15. def createNode(pre: String, label: String, attrs: MetaData, scope: NamespaceBinding, children: List[Node]): Elem

    Permalink

    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
  16. def createProcInstr(target: String, data: String): Seq[ProcInstr]

    Permalink

    Creates a processing instruction.

    Creates a processing instruction.

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

    Permalink

    Creates a text node.

    Creates a text node.

    returns

    a new Text node.

    Definition Classes
    NoBindingFactoryAdapterFactoryAdapter
  18. var curTag: String

    Permalink
    Definition Classes
    FactoryAdapter
  19. def endDocument(): Unit

    Permalink
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  20. def endElement(uri: String, _localName: String, qname: String): Unit

    Permalink

    End element.

    End element.

    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
    Exceptions thrown

    org.xml.sax.SAXException if ..

  21. def endPrefixMapping(arg0: String): Unit

    Permalink
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def eqElements(ch1: Seq[Node], ch2: Seq[Node]): Boolean

    Permalink
    Definition Classes
    NodeFactory
  24. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  25. def error(arg0: org.xml.sax.SAXParseException): Unit

    Permalink
    Definition Classes
    DefaultHandler → ErrorHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  26. def fatalError(arg0: org.xml.sax.SAXParseException): Unit

    Permalink
    Definition Classes
    DefaultHandler → ErrorHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. val hStack: Stack[Node]

    Permalink
    Definition Classes
    FactoryAdapter
  30. def hashCode(): Int

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

    Permalink
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  32. val ignoreComments: Boolean

    Permalink
    Definition Classes
    NodeFactory
  33. val ignoreProcInstr: Boolean

    Permalink
    Definition Classes
    NodeFactory
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def load(url: URL): Node

    Permalink
    Definition Classes
    XMLLoader
  36. def load(source: InputSource): Node

    Permalink
    Definition Classes
    XMLLoader
  37. def load(sysID: String): Node

    Permalink
    Definition Classes
    XMLLoader
  38. def load(reader: Reader): Node

    Permalink
    Definition Classes
    XMLLoader
  39. def load(is: InputStream): Node

    Permalink

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

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

    Definition Classes
    XMLLoader
  40. def loadFile(name: String): Node

    Permalink
    Definition Classes
    XMLLoader
  41. def loadFile(fd: FileDescriptor): Node

    Permalink
    Definition Classes
    XMLLoader
  42. def loadFile(file: File): Node

    Permalink

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

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

    Definition Classes
    XMLLoader
  43. def loadString(string: String): Node

    Permalink

    Loads XML from the given String.

    Loads XML from the given String.

    Definition Classes
    XMLLoader
  44. def loadXML(source: InputSource, parser: SAXParser): Node

    Permalink

    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
  45. def makeComment(s: String): Seq[Comment]

    Permalink
    Definition Classes
    NodeFactory
  46. def makeNode(pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Elem

    Permalink
    Definition Classes
    NodeFactory
  47. def makeProcInstr(t: String, s: String): Seq[ProcInstr]

    Permalink
    Definition Classes
    NodeFactory
  48. def makeText(s: String): Text

    Permalink
    Definition Classes
    NodeFactory
  49. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  50. def nodeContainsText(label: String): Boolean

    Permalink

    True.

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

    returns

    true if element named localName contains text.

    Definition Classes
    NoBindingFactoryAdapterFactoryAdapter
  51. def nodeEquals(n: Node, pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Boolean

    Permalink
    Definition Classes
    NodeFactory
  52. val normalizeWhitespace: Boolean

    Permalink
    Definition Classes
    FactoryAdapter
  53. def notationDecl(arg0: String, arg1: String, arg2: String): Unit

    Permalink
    Definition Classes
    DefaultHandler → DTDHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  54. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  55. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  56. def parser: SAXParser

    Permalink
    Definition Classes
    XMLLoader
  57. def processingInstruction(target: String, data: String): Unit

    Permalink

    Processing instruction.

    Processing instruction.

    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  58. def resolveEntity(arg0: String, arg1: String): org.xml.sax.InputSource

    Permalink
    Definition Classes
    DefaultHandler → EntityResolver
    Annotations
    @throws( classOf[org.xml.sax.SAXException] ) @throws( classOf[java.io.IOException] )
  59. var rootElem: Node

    Permalink
    Definition Classes
    FactoryAdapter
  60. var scopeStack: Stack[NamespaceBinding]

    Permalink
    Definition Classes
    FactoryAdapter
  61. def setDocumentLocator(arg0: Locator): Unit

    Permalink
    Definition Classes
    DefaultHandler → ContentHandler
  62. def skippedEntity(arg0: String): Unit

    Permalink
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  63. def startDocument(): Unit

    Permalink
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  64. def startElement(uri: String, _localName: String, qname: String, attributes: Attributes): Unit

    Permalink
    Definition Classes
    FactoryAdapter → DefaultHandler → ContentHandler
  65. def startPrefixMapping(arg0: String, arg1: String): Unit

    Permalink
    Definition Classes
    DefaultHandler → ContentHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  66. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  67. val tagStack: Stack[String]

    Permalink
    Definition Classes
    FactoryAdapter
  68. def toString(): String

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

    Permalink
    Definition Classes
    DefaultHandler → DTDHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )
  70. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def warning(arg0: org.xml.sax.SAXParseException): Unit

    Permalink
    Definition Classes
    DefaultHandler → ErrorHandler
    Annotations
    @throws( classOf[org.xml.sax.SAXException] )

Inherited from NodeFactory[Elem]

Inherited from FactoryAdapter

Inherited from XMLLoader[Node]

Inherited from DefaultHandler

Inherited from ErrorHandler

Inherited from ContentHandler

Inherited from DTDHandler

Inherited from org.xml.sax.EntityResolver

Inherited from AnyRef

Inherited from Any

Ungrouped