| Modifier and Type | Field and Description |
|---|---|
static String |
SCOPED_ATTR |
| Constructor and Description |
|---|
ScopedWebLink(Plugin plugin,
String path) |
ScopedWebLink(Plugin plugin,
String path,
boolean scoped) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPath() |
static ScopedWebLink |
parse(Element element,
Plugin plugin)
Parsuje podany element na obiekt typu
WebLink. |
static ScopedWebLink |
parse(ModuleDefinition module,
Plugin plugin)
Odczytuje z definicji modułu pierwszy napotkany element
link. |
public static final String SCOPED_ATTR
public String getPath()
public static ScopedWebLink parse(ModuleDefinition module, Plugin plugin)
link.module - moduł, w którym szukamy linkuplugin - wtyczkaWebLinkpublic static ScopedWebLink parse(Element element, Plugin plugin)
WebLink.
Przykładowy element:
/hello
element - element zawierający definicję linkuplugin - wtyczkaWebLinkCopyright © 2020 Suncode. All rights reserved.