trait XmlPrinter extends AnyRef
- Alphabetic
- By Inheritance
- XmlPrinter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
asString[T](xml: T)(implicit serf: SerializerFactory, sxml: SerializeableXml[T]): String
Returns a string version of the tree or throws
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def doElement(x: Elem, currentMappings: Map[String, String]): NamespaceContext
-
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] )
-
def
foldPrint[T](pout: XmlOutput)(it: T)(implicit arg0: SerializeableXml[T]): Option[Throwable]
Placeholder - prefer serialize instead
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def headerAndFooter(pout: XmlOutput, doc: DocLike)(serializerf: (XmlOutput, Serializer) ⇒ (XmlOutput, Option[Throwable])): (Serializer) ⇒ Option[Throwable]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
itemAsString(xmlItem: XmlItem)(implicit serf: SerializerFactory): String
Just for items, given we don't want to generally serialize them directly but as part of a tree.
Just for items, given we don't want to generally serialize them directly but as part of a tree. Useful for debugging only
-
def
laddNS(entry: (String, String), mappings: Map[String, String], declMap: Map[String, String]): (Map[String, String], Map[String, String])
a) add / replace in mappings b) add to declMap
-
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
printTree[T](xml: T)(implicit serf: SerializerFactory, sxml: SerializeableXml[T]): Unit
Prints to stdout, useful for testing etc Will dump an error if one is found.
Prints to stdout, useful for testing etc Will dump an error if one is found.
Note it outputs to the vmDefaultCharset so it should always be C+P able
-
def
serialize[T](pout: XmlOutput)(it: T)(implicit arg0: SerializeableXml[T]): Option[Throwable]
Serializes items which can behave like xml.
- def serializeMisc(pout: XmlOutput, misc: Iterable[xml.Misc], serializer: Serializer): (XmlOutput, Option[Throwable])
-
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()
- def withWriter(decl: Declaration, out: Writer): SerializerData
-
def
writeTo[T](it: T, output: Writer, version: Option[XmlVersion] = None, encoding: Option[Charset] = None)(implicit serializerFI: SerializerFactory, sxml: SerializeableXml[T]): Option[Throwable]
Writes the xml to a given Writer with defaults provided for .