Example usage for org.w3c.dom CharacterData getLocalName

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

Introduction

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

Prototype

public String getLocalName();

Source Link

Document

Returns the local part of the qualified name of this node.

Usage

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

/**
 * construct a text element./*from  w w  w .java 2s  . co 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//w  ww . j  a va 2 s.  co m
 */
public NodeImpl(CharacterData text) {
    textRep = text;
    namespaceURI = text.getNamespaceURI();
    name = text.getLocalName();
}