Class AbstractWriter
java.lang.Object
com.evolveum.midpoint.prism.impl.lex.json.writer.AbstractWriter
- Direct Known Subclasses:
JsonWriter
,YamlWriter
Writes XNode into JSON/YAML.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
write
(@NotNull RootXNode root, SerializationContext prismSerializationContext) @NotNull String
write
(@NotNull XNode xnode, @NotNull QName rootElementName, SerializationContext prismSerializationContext) @NotNull String
write
(@NotNull List<RootXNodeImpl> roots, @Nullable SerializationContext prismSerializationContext)
-
Constructor Details
-
AbstractWriter
-
-
Method Details
-
getSchema
-
write
@NotNull public @NotNull String write(@NotNull @NotNull XNode xnode, @NotNull @NotNull QName rootElementName, SerializationContext prismSerializationContext) throws SchemaException - Throws:
SchemaException
-
write
@NotNull public @NotNull String write(@NotNull @NotNull RootXNode root, SerializationContext prismSerializationContext) throws SchemaException - Throws:
SchemaException
-
write
@NotNull public @NotNull String write(@NotNull @NotNull List<RootXNodeImpl> roots, @Nullable @Nullable SerializationContext prismSerializationContext) throws SchemaException - Throws:
SchemaException
-