站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

QNameBuilder (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.xml
Class QNameBuilder

java.lang.Object
  extended byorg.jboss.xml.QNameBuilder

public final class QNameBuilder
extends Object

A QName builder that discovers the namespaceURI for a given prefix by walking up the document tree. The combined name is of the form [prefix:]localPart

Version:
$Revision: 1.1 $
Author:
Thomas.Diesler@jboss.org

Constructor Summary
QNameBuilder()
           
 
Method Summary
static javax.xml.namespace.QName buildQName(Element element, String combinedName)
          Build a QName from a combined name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QNameBuilder

public QNameBuilder()
Method Detail

buildQName

public static javax.xml.namespace.QName buildQName(Element element,
                                                   String combinedName)
Build a QName from a combined name

Parameters:
element - The current element
combinedName - A name of form prefix:localPart
Returns:
A QName, or null


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.