textbender.g.xml.dom
Class ElementX
java.lang.Object
  
ElementX
public final class ElementX
- extends Object
 
Element utilities.
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
duplicateAttributeNS
public static String duplicateAttributeNS(Element fromElement,
                                          String namespaceURI,
                                          String localName,
                                          Element toElement,
                                          StringBuilder b)
- Duplicates the named attribute, copying it
 from 'fromElement' to 'toElement'. If it is not present in fromElement,
 ensures it is removed from toElement as well.
- Parameters:
 b - string builder to use, overwriting its existing content
- Returns:
 - value of attribute,
         per fromElement.getAttributeNS()