Uses of Class
io.kojan.xml.XMLException
-
Uses of XMLException in io.kojan.xml
Methods in io.kojan.xml that return XMLExceptionMethods in io.kojan.xml that throw XMLExceptionModifier and TypeMethodDescriptionprivate <Type,
Bean, Value>
voidprotected void
Attribute.dump
(XMLDumper dumper, AttributeType value) protected abstract void
Property.dump
(XMLDumper dumper, NestedType value) Serializes the property into XML format, using givenXMLDumper
.protected void
Relationship.dump
(XMLDumper dumper, RelatedType value) (package private) <Type,
Bean>
voidXMLDumperImpl.dumpDocument
(Entity<Type, Bean> rootEntity, Type value) void
XMLDumper.dumpEndElement()
Writes a sequence that ends previously started XML element.void
XMLDumperImpl.dumpEndElement()
<Type,
Bean>
voidXMLDumper.dumpEntity
(Entity<Type, Bean> entity, Type value) Serializes givenEntity
into XML form.<Type,
Bean>
voidXMLDumperImpl.dumpEntity
(Entity<Type, Bean> entity, Type value) void
XMLDumper.dumpStartElement
(String tag) Writes a sequence that starts an XML element with given tag.void
XMLDumperImpl.dumpStartElement
(String tag) void
Writes XML text content.void
private XMLException
private void
XMLParserImpl.expectToken
(int token, String description) Deserializes entity from XML format.boolean
XMLParser.hasStartElement()
Determines whether at the current parser position there is an XML element opening tag.boolean
XMLParser.hasStartElement
(String tag) Determines whether at the current parser position there is an XML element opening tag with specified tag name.boolean
XMLParserImpl.hasStartElement()
boolean
XMLParserImpl.hasStartElement
(String tag) private boolean
XMLParserImpl.hasToken
(int token) protected AttributeType
protected abstract NestedType
Deserializes the property from XML format, using givenXMLParser
.protected RelatedType
(package private) <Type,
Bean>
TypeXMLParserImpl.parseDocument
(Entity<Type, Bean> rootEntity) (package private) void
XMLParserImpl.parseEndDocument()
void
XMLParser.parseEndElement
(String tag) Reads XML element closing tag with specified tag name.void
XMLParserImpl.parseEndElement
(String tag) <Type,
Bean>
voidXMLParser.parseEntity
(Entity<Type, Bean> entity, Bean bean) Deserializes givenEntity
from XML form.<Type,
Bean>
voidXMLParserImpl.parseEntity
(Entity<Type, Bean> entity, Bean bean) (package private) void
XMLParserImpl.parseStartDocument()
XMLParser.parseStartElement()
Reads XML element opening tag.void
XMLParser.parseStartElement
(String tag) Reads XML element opening tag with specified tag name.XMLParserImpl.parseStartElement()
void
XMLParserImpl.parseStartElement
(String tag) XMLParser.parseText()
Reads XML text content.XMLParserImpl.parseText()
Entity.readFromXML
(Reader reader) Deserializes entity from XML format, reading XML data from givenReader
.Entity.readFromXML
(Path path) Deserializes entity from XML format, reading XML data from file at givenPath
.Serializes entity into XML format.private <Type,
Bean, Value>
booleanvoid
Entity.writeToXML
(Writer writer, Type object) Serializes entity into XML format, writing XML data to givenWriter
.void
Entity.writeToXML
(Path path, Type object) Serializes entity into XML format, writing XML data to file at givenPath
.Constructors in io.kojan.xml that throw XMLExceptionModifierConstructorDescription(package private)
XMLDumperImpl
(Writer writer) XMLParserImpl
(Reader reader)