public abstract class PathMacros
extends java.lang.Object
In order to make a path (or URL) portable the serialization subsystem replaces its prefix by name of a corresponding path variable.
There are predefined path variables
and also it's possible to specify custom path variables
.
Constructor and Description |
---|
PathMacros() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addIgnoredMacro(java.lang.String name) |
abstract java.util.Set<java.lang.String> |
getAllMacroNames() |
abstract java.util.Collection<java.lang.String> |
getIgnoredMacroNames() |
static PathMacros |
getInstance() |
abstract java.util.Collection<java.lang.String> |
getLegacyMacroNames() |
abstract java.util.Set<java.lang.String> |
getSystemMacroNames() |
abstract java.util.Set<java.lang.String> |
getUserMacroNames() |
abstract java.util.Map<java.lang.String,java.lang.String> |
getUserMacros() |
abstract java.lang.String |
getValue(java.lang.String name) |
abstract boolean |
isIgnoredMacroName(java.lang.String macro) |
abstract void |
removeAllMacros() |
void |
removeMacro(java.lang.String name)
Deprecated.
|
abstract void |
setIgnoredMacroNames(java.util.Collection<java.lang.String> names) |
abstract void |
setMacro(java.lang.String name,
java.lang.String value)
Consider using
PathMacroContributor . |
public static PathMacros getInstance()
public abstract java.util.Set<java.lang.String> getAllMacroNames()
public abstract java.lang.String getValue(java.lang.String name)
public abstract void setMacro(java.lang.String name, java.lang.String value)
PathMacroContributor
.@Deprecated public void removeMacro(java.lang.String name)
PathMacroContributor
public abstract java.util.Set<java.lang.String> getUserMacroNames()
public abstract java.util.Map<java.lang.String,java.lang.String> getUserMacros()
public abstract java.util.Set<java.lang.String> getSystemMacroNames()
public abstract java.util.Collection<java.lang.String> getIgnoredMacroNames()
public abstract void setIgnoredMacroNames(java.util.Collection<java.lang.String> names)
public abstract void addIgnoredMacro(java.lang.String name)
public abstract boolean isIgnoredMacroName(java.lang.String macro)
public abstract void removeAllMacros()
public abstract java.util.Collection<java.lang.String> getLegacyMacroNames()