| java.lang.Object gnu.xquery.util.QNameUtils
QNameUtils | public class QNameUtils (Code) | | |
Method Summary | |
public static Object | localNameFromQName(Object name) | public static String | lookupPrefix(String prefix, NamespaceBinding constructorNamespaces, NamespaceBinding prologNamespaces) Search for a uri matching the given prefix. | public static Symbol | makeQName(Object paramURI, String paramQName) This implements the fn:QName standard function. | public static Object | namespaceURIForPrefix(Object prefix, Object element) | public static Object | namespaceURIFromQName(Object name) | public static Object | prefixFromQName(Object name) | public static String | resolvePrefix(String prefix, NamespaceBinding constructorNamespaces, NamespaceBinding prologNamespaces) Search for a uri matching the given prefix. | public static Object | resolveQName(Object qname, NamespaceBinding constructorNamespaces, NamespaceBinding prologNamespaces) Method called from compiled code to "cast" to a QName. | public static Object | resolveQNameUsingElement(Object qname, KElement node) | public static Object | resolveURI(Object relative, Object base) | public static boolean | validNCName(String name) |
makeQName | public static Symbol makeQName(Object paramURI, String paramQName)(Code) | | This implements the fn:QName standard function.
|
resolvePrefix | public static String resolvePrefix(String prefix, NamespaceBinding constructorNamespaces, NamespaceBinding prologNamespaces)(Code) | | Search for a uri matching the given prefix.
Throw exception if there is no binding and the prefix is non-empty.
|
resolveQName | public static Object resolveQName(Object qname, NamespaceBinding constructorNamespaces, NamespaceBinding prologNamespaces)(Code) | | Method called from compiled code to "cast" to a QName.
Parameters: qname - The value to cast to QName. Parameters: constructorNamespaces - Namespace bindings from namespaceattributes in direct element constructors. Parameters: prologNamespaces - Namespac bindings from query prolog,as well as builtin namespace prefixes. |
validNCName | public static boolean validNCName(String name)(Code) | | |
|
|