org.apache.servicemix.jbi.util
Class QNameUtil

java.lang.Object
  extended by org.apache.servicemix.jbi.util.QNameUtil

public final class QNameUtil
extends Object

Utilities for converting QNames into different representations

Since:
3.0
Version:
$Revision: 1.5 $
Author:
Alex Boisvert

Method Summary
static QName parse(String name)
          Convert a String back into a QName following the Clark notation
static String toString(Attr attr)
          Convert QName to the Clark notation, e.g., {namespace}localName
static String toString(Collection collection)
           
static String toString(Element element)
          Convert QName to the Clark notation, e.g., {namespace}localName
static String toString(QName qname)
          Convert QName to the Clark notation, e.g., {namespace}localName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toString

public static String toString(QName qname)
Convert QName to the Clark notation, e.g., {namespace}localName


toString

public static String toString(Element element)
Convert QName to the Clark notation, e.g., {namespace}localName


toString

public static String toString(Attr attr)
Convert QName to the Clark notation, e.g., {namespace}localName


toString

public static String toString(Collection collection)

parse

public static QName parse(String name)
Convert a String back into a QName following the Clark notation



Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.