org.netbeans.modules.bpel.model.impl
Class ExNamespaceContextImpl

java.lang.Object
  extended by org.netbeans.modules.bpel.model.impl.ExNamespaceContextImpl
All Implemented Interfaces:
javax.xml.namespace.NamespaceContext, org.netbeans.modules.xml.xpath.ext.schema.ExNamespaceContext

public class ExNamespaceContextImpl
extends java.lang.Object
implements org.netbeans.modules.xml.xpath.ext.schema.ExNamespaceContext

Author:
ads

Field Summary
(package private) static java.lang.String DEFAULT_NS_PREFIX
           
 
Constructor Summary
ExNamespaceContextImpl(BpelEntityImpl element)
           
 
Method Summary
 java.lang.String addNamespace(java.lang.String uri)
           
 void addNamespace(java.lang.String prefix, java.lang.String uri)
           
 java.lang.String getNamespaceURI(java.lang.String prefix)
           
 java.lang.String getPrefix(java.lang.String uri)
           
 java.util.Iterator<java.lang.String> getPrefixes()
           
 java.util.Iterator getPrefixes(java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NS_PREFIX

static final java.lang.String DEFAULT_NS_PREFIX
See Also:
Constant Field Values
Constructor Detail

ExNamespaceContextImpl

public ExNamespaceContextImpl(BpelEntityImpl element)
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI(java.lang.String prefix)
Specified by:
getNamespaceURI in interface javax.xml.namespace.NamespaceContext

getPrefix

public java.lang.String getPrefix(java.lang.String uri)
Specified by:
getPrefix in interface javax.xml.namespace.NamespaceContext

getPrefixes

public java.util.Iterator getPrefixes(java.lang.String uri)
Specified by:
getPrefixes in interface javax.xml.namespace.NamespaceContext

getPrefixes

public java.util.Iterator<java.lang.String> getPrefixes()
Specified by:
getPrefixes in interface org.netbeans.modules.xml.xpath.ext.schema.ExNamespaceContext

addNamespace

public java.lang.String addNamespace(java.lang.String uri)
                              throws org.netbeans.modules.xml.xpath.ext.schema.InvalidNamespaceException
Specified by:
addNamespace in interface org.netbeans.modules.xml.xpath.ext.schema.ExNamespaceContext
Throws:
org.netbeans.modules.xml.xpath.ext.schema.InvalidNamespaceException

addNamespace

public void addNamespace(java.lang.String prefix,
                         java.lang.String uri)
                  throws org.netbeans.modules.xml.xpath.ext.schema.InvalidNamespaceException
Specified by:
addNamespace in interface org.netbeans.modules.xml.xpath.ext.schema.ExNamespaceContext
Throws:
org.netbeans.modules.xml.xpath.ext.schema.InvalidNamespaceException