com.batavia.xml
Interface NameSpace


public interface NameSpace

Manages namespaces for documents.

A namespace is expressed as an attribute with the xmlns prefix on XbrlElements.

An XML namespace is a collection of names, identified by a URI reference [RFC2396], which are used in XML documents as element types and attribute names.

Names from XML namespaces may appear as qualified names, which contain a single colon, separating the name into a namespace prefix and a local part. The prefix, which is mapped to a URI reference, selects a namespace. The combination of the universally managed URI namespace and the document's own namespace produces identifiers that are universally unique.

One default namespace is always available. The xmlns prefixed namespace.

Copyright 2006 J2R BV, The Netherlands.

Part of Licensed Materials.

www.batavia-xbrl.com

Author:
Ron van Ardenne

Method Summary
 java.lang.String getUri()
           
 boolean s_equal(NameSpace other)
          Determine if the other is Structure equal to this.
 void setUri(java.lang.String uri)
           
 java.lang.String toString()
          Convert this object to a string representation.
 

Method Detail

getUri

java.lang.String getUri()
Returns:
Returns the uri.

setUri

void setUri(java.lang.String uri)
Parameters:
uri - The uri to set.

toString

java.lang.String toString()
Convert this object to a string representation.

Overrides:
toString in class java.lang.Object
Returns:
uri The namespaces uri value

s_equal

boolean s_equal(NameSpace other)
Determine if the other is Structure equal to this.

Parameters:
other - another NameSpace object
Returns:
true if the other is Structure equal to this.