org.jvnet.staxex
Interface NamespaceContextEx.Binding

Enclosing interface:
NamespaceContextEx

public static interface NamespaceContextEx.Binding

Prefix to namespace URI binding.


Method Summary
 java.lang.String getNamespaceURI()
          Gets the namespace URI.
 java.lang.String getPrefix()
          Gets the prefix.
 

Method Detail

getPrefix

java.lang.String getPrefix()
Gets the prefix.

The default namespace URI is represented by using an empty string "", not null.

Returns:
never null. String like "foo", "ns12", or "".

getNamespaceURI

java.lang.String getNamespaceURI()
Gets the namespace URI.

The empty namespace URI is represented by using an empty string "", not null.

Returns:
never null. String like "http://www.w3.org/XML/1998/namespace", "urn:oasis:names:specification:docbook:dtd:xml:4.1.2", or "".


Copyright © 2006-2008. All Rights Reserved.