org.specrunner.source.namespace
Interface INamespaceInfo

All Known Implementing Classes:
NamespaceInfoDefault

public interface INamespaceInfo

Namespace information.

Author:
Thiago Santos

Method Summary
 nu.xom.XPathContext getByPrefix(String prefix)
          Get context by prefix.
 nu.xom.XPathContext getByURI(String uri)
          Get context by uri.
 String getPrefix(String uri)
          Get prefix by uri information.
 String getURI(String prefix)
          Get uri by prefix.
 

Method Detail

getPrefix

String getPrefix(String uri)
Get prefix by uri information.

Parameters:
uri - A uri.
Returns:
The prefix, if exists, null, otherwise.

getURI

String getURI(String prefix)
Get uri by prefix.

Parameters:
prefix - A prefix.
Returns:
The uri, if exists, null, otherwise.

getByPrefix

nu.xom.XPathContext getByPrefix(String prefix)
Get context by prefix.

Parameters:
prefix - The prefix.
Returns:
The context, if exists, null, otherwise.

getByURI

nu.xom.XPathContext getByURI(String uri)
Get context by uri.

Parameters:
uri - The uri.
Returns:
The context, if exists, null, otherwise.


Copyright © 2014. All rights reserved.