class XMLReader extends Logger
A Reader parses XML/MMT and calls controller.add(e) on every found content element e
The XML may contain CURIEs. However, all namespace prefixes must be declared on the toplevel omdoc element; other bindings are ignored.
- Source
- ReadXML.scala
- Alphabetic
- By Inheritance
- XMLReader
- Logger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new XMLReader(controller: Controller)
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log(e: Error): Unit
logs an error - always logged
logs an error - always logged
- Attributes
- protected
- Definition Classes
- Logger
-
def
log(s: ⇒ String, subgroup: Option[String] = None): Unit
logs a message with this logger's logprefix
logs a message with this logger's logprefix
- Attributes
- protected
- Definition Classes
- Logger
-
def
logError(s: ⇒ String): Unit
log as an error message
log as an error message
- Attributes
- protected
- Definition Classes
- Logger
-
def
logGroup[A](a: ⇒ A): A
wraps around a group to create nested logging
wraps around a group to create nested logging
- Attributes
- protected
- Definition Classes
- Logger
- val logPrefix: String
-
def
logTemp(s: ⇒ String): Unit
temporary logging - always logged
temporary logging - always logged
- Attributes
- protected
- Definition Classes
- Logger
-
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()
-
def
readDocument(dpath: DPath, nodeMd: Node)(implicit cont: StructureParserContinuations): Unit
parses a document and forwards its declarations to the continuation function
parses a document and forwards its declarations to the continuation function
- dpath
the URI of the document
- nodeMd
the document If the document has a base attribute, it is used as the default namespace of modules.
-
def
readIn(nsMap: NamespaceMap, se: ContainerElement[_], node: Node)(implicit cont: StructureParserContinuations): Unit
entry point for reading in a node if the containing document, theory, view is known
-
def
readInDocument(nsMap: NamespaceMap, docOpt: Option[Document], nodeMd: Node)(implicit cont: StructureParserContinuations): Unit
reads a child of a document
reads a child of a document
- nsMap
used for relative paths, in particular for the namespace of modules
- docOpt
the containing document, if any; if given, XRef's will be generated
- nodeMd
the node to parse
-
def
readInModule(home: MPath, nsMap: NamespaceMap, body: ModuleOrLink, node: Node)(implicit cont: StructureParserContinuations): Unit
- home
the mpath to use to refer to module (module.path for theories and views)
- nsMap
used for relative paths (base is set by readIn)
- body
the containing theory, view, or structure
- node
the node to parse
- val report: Report
-
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
- @throws( ... ) @native()