Example usage for org.w3c.dom CharacterData getNamespaceURI

List of usage examples for org.w3c.dom CharacterData getNamespaceURI

Introduction

In this page you can find the example usage for org.w3c.dom CharacterData getNamespaceURI.

Prototype

public String getNamespaceURI();

Source Link

Document

The namespace URI of this node, or null if it is unspecified (see ).

Usage

From source file:org.apache.axis.message.MessageElement.java

/**
 * construct a text element./*from  www . j ava  2 s.  c  o  m*/
 * @param text text data. This is <i>not</i> copied; it is referred to in the MessageElement.
 */
public MessageElement(CharacterData text) {
    textRep = text;
    namespaceURI = text.getNamespaceURI();
    name = text.getLocalName();
}

From source file:org.apache.axis.message.NodeImpl.java

/**
 * constructor which adopts the name and NS of the char data, and its text
 * @param text/*  www. j  a v a  2 s.  co m*/
 */
public NodeImpl(CharacterData text) {
    textRep = text;
    namespaceURI = text.getNamespaceURI();
    name = text.getLocalName();
}