| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | Returns: true if corresponding event can be processed by current builder,
false otherwisean event to check xmlEvent)Checks if the given |
| protected abstract void | |
| protected abstract String | |
| public boolean | |
| protected Optional | Returns: a value of an attribute if it is present,Optional#empty() otherwisean element to get an attribute from startElement, QName a qName)QName of an attribute to readReads a value of an attribute of a given element. |
| protected String | Returns: a value of a current xml tag as a stringa current xmlEventReader)XMLEventReaderReads a value between a simple tag element. |
| AbstractStaxBuilder | back to summary |
|---|---|
| public AbstractStaxBuilder() | |
| accept | back to summary |
|---|---|
| protected boolean accept(XMLEvent xmlEvent) Checks if the given
| |
| add | back to summary |
|---|---|
| protected abstract void add(XMLEventReader xmlEventReader, XMLEvent xmlEvent) throws XMLStreamException | |
| getAcceptableQName | back to summary |
|---|---|
| protected abstract String getAcceptableQName() | |
| process | back to summary |
|---|---|
| public boolean process(XMLEventReader xmlEventReader, XMLEvent xmlEvent) | |
| readAttribute | back to summary |
|---|---|
| protected Optional Reads a value of an attribute of a given element.
| |
| readSingleElement | back to summary |
|---|---|
| protected String readSingleElement(XMLEventReader xmlEventReader) throws XMLStreamException Reads a value between a simple tag element. In case of a
| |