protected static final class AbstractSerializerPhloc.NamespaceLevel extends Object
| Constructor and Description |
|---|
AbstractSerializerPhloc.NamespaceLevel(Map<String,String> aAttrs)
Extract all attribute starting with "xmlns" and create the appropriate
prefix mapping.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultNamespaceURI() |
String |
getNamespaceURIOfPrefix(String sPrefix)
Get the URL matching a given namespace prefix in this level.
|
String |
getPrefixOfNamespaceURI(String sNamespaceURI) |
String |
toString() |
@Nullable public String getNamespaceURIOfPrefix(@Nullable String sPrefix)
sPrefix - The prefix to be searched. If it is null the default
namespace URL is returned.null if the namespace mapping is not used or the URL
otherwise.@Nullable public String getPrefixOfNamespaceURI(@Nonnull String sNamespaceURI)
Copyright © 2006–2014 phloc systems. All rights reserved.