| Package | Description |
|---|---|
| net.lecousin.framework.xml |
XML Parsing and generation.
|
| net.lecousin.framework.xml.dom |
Simple (partial) DOM implementation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XMLStreamEventsSync.closeElement()
Go the the END_ELEMENT event corresponding to the current START_ELEMENT (must be called with a current event to START_ELEMENT).
|
boolean |
XMLStreamEventsSync.goInto(XMLStreamEvents.ElementContext rootContext,
String... innerElements)
Go successively into the given elements.
|
void |
XMLStreamReader.next()
Move forward to the next event.
|
abstract void |
XMLStreamEventsSync.next()
Move forward to the next event.
|
void |
XMLStreamEventsRecorder.Sync.next() |
boolean |
XMLStreamEventsSync.nextInnerElement(XMLStreamEvents.ElementContext parent)
Go to the next inner element.
|
boolean |
XMLStreamEventsSync.nextInnerElement(XMLStreamEvents.ElementContext parent,
String childName)
Go to the next inner element having the given name.
|
boolean |
XMLStreamEventsSync.nextStartElement()
Shortcut to move forward to the next START_ELEMENT, return false if no START_ELEMENT event was found.
|
Map<String,String> |
XMLStreamEventsSync.readInnerElementsText(XMLStreamEvents.ElementContext parent)
Read all inner elements with their text, and return a mapping with the element's name as key and inner text as value.
|
UnprotectedStringBuffer |
XMLStreamEventsSync.readInnerText()
Read inner text and close element.
|
boolean |
XMLStreamEventsSync.searchElement(String elementName)
Move forward until an element with the given name is found (whatever its depth).
|
void |
XMLStreamReader.start() |
abstract void |
XMLStreamEventsSync.start()
Start reading the XML to provide the first event.
|
void |
XMLStreamEventsRecorder.Sync.start() |
ICharacterStream.Readable.Buffered |
XMLStreamEvents.Starter.start() |
void |
XMLStreamReader.startRootElement()
Shortcut to move forward to the first START_ELEMENT event, skipping the header or comments.
|
| Modifier and Type | Method and Description |
|---|---|
static XMLElement |
XMLElement.create(XMLDocument doc,
XMLStreamEventsSync stream)
Create an Element from a XMLStreamEvents.
|
static XMLDocument |
XMLDocument.create(XMLStreamEventsSync stream)
Create a document from a XMLStreamEvents.
|
void |
XMLElement.parseContent(XMLStreamEventsSync stream)
Parse the content of this element.
|
Copyright © 2019. All rights reserved.