|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.protocol.conversion.xstream.NamespaceSet
public class NamespaceSet
A container class that defines namespaces and subsequent element named for an element in the output stack. A set of active namespaces are defined by addNamespace and a name to prefixed name translation is specified by addPrefixedElement.
| Constructor Summary | |
|---|---|
NamespaceSet()
|
|
| Method Summary | |
|---|---|
void |
addNamespace(String nsAttribute,
String namespace)
Add a namespace to the list. |
void |
addPrefixedElement(String elementName,
String namespacedElementName)
Add a localname translation. |
String |
getElementName(String name)
Convert an element name, if necessary. |
Set<Map.Entry<String,String>> |
nameSpaceEntrySet()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamespaceSet()
| Method Detail |
|---|
public void addNamespace(String nsAttribute,
String namespace)
nsAttribute - the attribute to be used to specify the namespacenamespace - the namespace URI
public void addPrefixedElement(String elementName,
String namespacedElementName)
elementName - the local name of the elementnamespacedElementName - the final name of the element with prefix.public String getElementName(String name)
name - the name to be converted.
public Set<Map.Entry<String,String>> nameSpaceEntrySet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||