public final class NamespaceDeclaration extends Object
{namespace ..} declaration.| Modifier and Type | Field and Description |
|---|---|
static NamespaceDeclaration |
NULL |
| Constructor and Description |
|---|
NamespaceDeclaration(String namespace,
List<NameAttributePair> attrs,
ErrorReporter errorReporter) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<AutoescapeMode> |
getAutoescapeMode() |
String |
getCssBaseNamespace() |
AutoescapeMode |
getDefaultAutoescapeMode() |
String |
getNamespace() |
com.google.common.collect.ImmutableList<String> |
getRequiredCssNamespaces() |
boolean |
isDefined() |
public static final NamespaceDeclaration NULL
public NamespaceDeclaration(String namespace, List<NameAttributePair> attrs, ErrorReporter errorReporter)
public boolean isDefined()
public AutoescapeMode getDefaultAutoescapeMode()
public com.google.common.base.Optional<AutoescapeMode> getAutoescapeMode()
public com.google.common.collect.ImmutableList<String> getRequiredCssNamespaces()