com.werken.xpath
クラス ElementNamespaceContext

java.lang.Object
  |
  +--com.werken.xpath.ElementNamespaceContext
すべての実装インタフェース:
NamespaceContext

public class ElementNamespaceContext
extends java.lang.Object
implements NamespaceContext

A NamespaceContext which gets it's mappings from an Element in a JDOM tree.

It currently DOES NOT WORK

作成者:
bob mcwhirter (bob @ werken.com)

コンストラクタの概要
ElementNamespaceContext(org.jdom.Element element)
          Construct the NamespaceContext from a JDOM Element
 
メソッドの概要
 java.lang.String translateNamespacePrefix(java.lang.String prefix)
          Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ElementNamespaceContext

public ElementNamespaceContext(org.jdom.Element element)
Construct the NamespaceContext from a JDOM Element
パラメータ:
element - The JDOM element to use for prefix->nsURI mapping
メソッドの詳細

translateNamespacePrefix

public java.lang.String translateNamespacePrefix(java.lang.String prefix)
Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.

定義:
インタフェース NamespaceContext 内の translateNamespacePrefix
パラメータ:
prefix - The namespace prefix
戻り値:
The URI matching the prefix
関連項目:
ContextSupport.setNamespaceContext(com.werken.xpath.NamespaceContext)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved.