org.apache.axis.message.addressing.util
Class TextExtractor

java.lang.Object
  extended by org.apache.axis.message.addressing.util.TextExtractor

public abstract class TextExtractor
extends java.lang.Object

Class TextExtractor.

Version:
$Revision: 14 $
Author:
Davanum Srinivas

Method Summary
static javax.xml.namespace.QName getQName(java.lang.String value, javax.xml.soap.SOAPElement elem)
          Gets a QName from the specified value, looking up the prefix in the specified SOAP element.
static java.lang.String getText(org.w3c.dom.Node node)
          Gets the text in the specified XML node.
static java.lang.String getText(javax.xml.soap.SOAPElement element)
          Gets the text contained in the specified SOAP element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getQName

public static javax.xml.namespace.QName getQName(java.lang.String value,
                                                 javax.xml.soap.SOAPElement elem)
Gets a QName from the specified value, looking up the prefix in the specified SOAP element.

Parameters:
value - Value
elem - Element for namespace look up
Returns:
QName instance

getText

public static java.lang.String getText(org.w3c.dom.Node node)
Gets the text in the specified XML node.

Parameters:
node - Node to parse
Returns:
Text

getText

public static java.lang.String getText(javax.xml.soap.SOAPElement element)
Gets the text contained in the specified SOAP element.

Parameters:
element - Element to parse
Returns:
Contained text


Copyright © 2008-2009 Rodrigo Ruiz. All Rights Reserved.