protected class MetadataDocumentLoader.MetadataHandler
extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
MetadataHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Optional<String> |
getAttribute(String name)
Gets a named attribute.
|
protected boolean |
isEnabled()
Asks if this document is enabled.
|
XMLElement |
onElementEnd(XMLElement element)
Called on element end.
|
XMLElement |
onElementStart(XMLElement element)
Called on element start.
|
void |
onRootEnd()
Called at the end of the processing of the root element.
|
public void onRootEnd()
public XMLElement onElementEnd(XMLElement element)
onElementEnd in interface XMLElement.Handlerelement - The element.public XMLElement onElementStart(XMLElement element)
onElementStart in interface XMLElement.Handlerelement - The element.@Nonnull
@CheckReturnValue
protected final Optional<String> getAttribute(@Nonnull
String name)
name - The name of the attribute.@CheckReturnValue protected final boolean isEnabled()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.