class NoBindingFactoryAdapter extends FactoryAdapter with NodeFactory[Elem]
nobinding adaptor providing callbacks to parser to create elements. implements hash-consing
- Alphabetic
- By Inheritance
- NoBindingFactoryAdapter
- NodeFactory
- FactoryAdapter
- XMLLoader
- DefaultHandler2
- EntityResolver2
- DeclHandler
- LexicalHandler
- DefaultHandler
- ErrorHandler
- ContentHandler
- DTDHandler
- EntityResolver
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NoBindingFactoryAdapter()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
adapter: FactoryAdapter
- Definition Classes
- XMLLoader
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
def
attributeDecl(arg0: String, arg1: String, arg2: String, arg3: String, arg4: String): Unit
- Definition Classes
- DefaultHandler2 → DeclHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
val
buffer: StringBuilder
- Definition Classes
- FactoryAdapter
-
val
cache: HashMap[Int, List[Elem]]
- Definition Classes
- NodeFactory
-
var
capture: Boolean
- Definition Classes
- FactoryAdapter
-
def
captureText(): Unit
Captures text or cdata.
Captures text or cdata.
- Definition Classes
- FactoryAdapter
-
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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
comment(ch: Array[Char], start: Int, length: Int): Unit
Comment.
Comment.
- Definition Classes
- FactoryAdapter → DefaultHandler2 → LexicalHandler
-
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
-
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
- NoBindingFactoryAdapter → NodeFactory
-
def
createComment(characters: String): collection.Seq[Comment]
Creates a comment.
Creates a comment.
- Definition Classes
- NoBindingFactoryAdapter → FactoryAdapter
-
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
- NoBindingFactoryAdapter → FactoryAdapter
-
def
createPCData(characters: String): PCData
Creates a cdata.
Creates a cdata.
- returns
a new PCData node.
- Definition Classes
- NoBindingFactoryAdapter → FactoryAdapter
-
def
createProcInstr(target: String, data: String): collection.Seq[ProcInstr]
Creates a processing instruction.
Creates a processing instruction.
- Definition Classes
- NoBindingFactoryAdapter → FactoryAdapter
-
def
createText(text: String): Text
Creates a text node.
Creates a text node.
- returns
a new Text node.
- Definition Classes
- NoBindingFactoryAdapter → FactoryAdapter
-
var
curTag: String
- Definition Classes
- FactoryAdapter
-
def
elementDecl(arg0: String, arg1: String): Unit
- Definition Classes
- DefaultHandler2 → DeclHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
endCDATA(): Unit
End of a CDATA section.
End of a CDATA section.
- Definition Classes
- FactoryAdapter → DefaultHandler2 → LexicalHandler
-
def
endDTD(): Unit
- Definition Classes
- DefaultHandler2 → LexicalHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
endDocument(): Unit
- Definition Classes
- FactoryAdapter → DefaultHandler → ContentHandler
-
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 ..
-
def
endEntity(arg0: String): Unit
- Definition Classes
- DefaultHandler2 → LexicalHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
endPrefixMapping(arg0: String): Unit
- Definition Classes
- DefaultHandler → ContentHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
var
epilogue: List[Node]
- Definition Classes
- FactoryAdapter
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
eqElements(ch1: collection.Seq[Node], ch2: collection.Seq[Node]): Boolean
- Definition Classes
- NodeFactory
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(arg0: org.xml.sax.SAXParseException): Unit
- Definition Classes
- DefaultHandler → ErrorHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
externalEntityDecl(arg0: String, arg1: String, arg2: String): Unit
- Definition Classes
- DefaultHandler2 → DeclHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
fatalError(arg0: org.xml.sax.SAXParseException): Unit
- Definition Classes
- DefaultHandler → ErrorHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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] )
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
ignorableWhitespace(arg0: Array[Char], arg1: Int, arg2: Int): Unit
- Definition Classes
- DefaultHandler → ContentHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
val
ignoreComments: Boolean
- Definition Classes
- NodeFactory
-
val
ignoreProcInstr: Boolean
- Definition Classes
- NodeFactory
-
def
internalEntityDecl(arg0: String, arg1: String): Unit
- Definition Classes
- DefaultHandler2 → DeclHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
load(url: URL): Node
- Definition Classes
- XMLLoader
-
def
load(source: InputSource): Node
- Definition Classes
- XMLLoader
-
def
load(sysID: String): Node
- Definition Classes
- XMLLoader
-
def
load(reader: Reader): Node
- Definition Classes
- XMLLoader
-
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
-
def
loadFile(name: String): Node
- Definition Classes
- XMLLoader
-
def
loadFile(fd: FileDescriptor): Node
- Definition Classes
- XMLLoader
-
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
-
def
loadFileNodes(name: String): Seq[Node]
- Definition Classes
- XMLLoader
-
def
loadFileNodes(fd: FileDescriptor): Seq[Node]
- Definition Classes
- XMLLoader
-
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
-
def
loadNodes(url: URL): Seq[Node]
- Definition Classes
- XMLLoader
-
def
loadNodes(source: InputSource): Seq[Node]
- Definition Classes
- XMLLoader
-
def
loadNodes(sysID: String): Seq[Node]
- Definition Classes
- XMLLoader
-
def
loadNodes(reader: Reader): Seq[Node]
- Definition Classes
- XMLLoader
-
def
loadNodes(is: InputStream): Seq[Node]
- Definition Classes
- XMLLoader
-
def
loadString(string: String): Node
Loads XML from the given String.
Loads XML from the given String.
- Definition Classes
- XMLLoader
-
def
loadStringNodes(string: String): Seq[Node]
- Definition Classes
- XMLLoader
-
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
-
def
loadXMLNodes(source: InputSource, parser: SAXParser): Seq[Node]
- Definition Classes
- XMLLoader
-
def
makeComment(s: String): collection.Seq[Comment]
- Definition Classes
- NodeFactory
-
def
makeNode(pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: collection.Seq[Node]): Elem
- Definition Classes
- NodeFactory
-
def
makePCData(s: String): PCData
- Definition Classes
- NodeFactory
-
def
makeProcInstr(t: String, s: String): collection.Seq[ProcInstr]
- Definition Classes
- NodeFactory
-
def
makeText(s: String): Text
- Definition Classes
- NodeFactory
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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
- NoBindingFactoryAdapter → FactoryAdapter
-
def
nodeEquals(n: Node, pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: collection.Seq[Node]): Boolean
- Definition Classes
- NodeFactory
-
val
normalizeWhitespace: Boolean
- Definition Classes
- FactoryAdapter
-
def
notationDecl(arg0: String, arg1: String, arg2: String): Unit
- Definition Classes
- DefaultHandler → DTDHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parser: SAXParser
- Definition Classes
- XMLLoader
-
def
processingInstruction(target: String, data: String): Unit
Processing instruction.
Processing instruction.
- Definition Classes
- FactoryAdapter → DefaultHandler → ContentHandler
-
var
prolog: List[Node]
- Definition Classes
- FactoryAdapter
-
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] )
-
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] )
-
var
rootElem: Node
- Definition Classes
- FactoryAdapter
-
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
-
def
setDocumentLocator(arg0: Locator): Unit
- Definition Classes
- DefaultHandler → ContentHandler
-
def
skippedEntity(arg0: String): Unit
- Definition Classes
- DefaultHandler → ContentHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
startCDATA(): Unit
Start of a CDATA section.
Start of a CDATA section.
- Definition Classes
- FactoryAdapter → DefaultHandler2 → LexicalHandler
-
def
startDTD(arg0: String, arg1: String, arg2: String): Unit
- Definition Classes
- DefaultHandler2 → LexicalHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
startDocument(): Unit
- Definition Classes
- DefaultHandler → ContentHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
startElement(uri: String, _localName: String, qname: String, attributes: Attributes): Unit
- Definition Classes
- FactoryAdapter → DefaultHandler → ContentHandler
-
def
startEntity(arg0: String): Unit
- Definition Classes
- DefaultHandler2 → LexicalHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
def
startPrefixMapping(prefix: String, uri: String): Unit
- Definition Classes
- FactoryAdapter → DefaultHandler → ContentHandler
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unparsedEntityDecl(arg0: String, arg1: String, arg2: String, arg3: String): Unit
- Definition Classes
- DefaultHandler → DTDHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
warning(arg0: org.xml.sax.SAXParseException): Unit
- Definition Classes
- DefaultHandler → ErrorHandler
- Annotations
- @throws( classOf[org.xml.sax.SAXException] )