@FunctionalInterface public interface NamespaceAware
Namespace information, in addition to
Statements.| Modifier and Type | Method and Description |
|---|---|
default Optional<Namespace> |
getNamespace(String prefix)
Gets the namespace that is associated with the specified prefix, if any.
|
Set<Namespace> |
getNamespaces()
Gets the set that contains the assigned namespaces.
|
default Optional<Namespace> getNamespace(String prefix)
prefix - A namespace prefix.Optional.empty() if there is
no such namespace.Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.