trait DocumentBuilder extends AnyRef
Any builder of a ("backing") document. Typical document builders convert the document URI to a local URI, parse the document using that local URI, and after parsing store the original URI as document URI in the returned document. Some document builders are capable of parsing documents inside ZIP files.
Document builders can be stacked, for example to perform some "post-processing". For example, some taxonomy documents may have a broken link in the schema location attribute, and such a post-processing step can fix that before the document is used to build a type-safe taxonomy DOM tree from it.
Other "decorating" document builders can cache parsed documents, for example.
Note that document builders backed by typical XML parsers are not thread-safe in the JVM!
Note that this document builder abstraction is useful both in the JVM and in JavaScript runtimes.
- Alphabetic
- By Inheritance
- DocumentBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- abstract type BackingDoc <: BackingDocumentApi
Abstract Value Members
-
abstract
def
build(uri: URI): BackingDoc
Returns the document that has the given URI as BackingDoc.
Returns the document that has the given URI as BackingDoc. The URI is typically the canonical, published URI of the document. This URI is also typically stored in the resulting document as document URI. If the document builder uses an XML catalog, the document is typically parsed from a local (mirror) URI.
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )