org.base.apps.xml.elem
Interface ElementContext

All Superinterfaces:
NamespaceContext
All Known Implementing Classes:
BaseElementContext

public interface ElementContext
extends NamespaceContext

Defines a context, including namespaces, for an Element.

Author:
Kevan Simpson

Method Summary
 void addNamespaceURI(String prefix, String namespaceURI)
          Adds a namespace URI with the given prefix to this context.
 void removeNamespaceURI(String prefix)
          Removes a namespace URI with the given prefix to this context.
 
Methods inherited from interface javax.xml.namespace.NamespaceContext
getNamespaceURI, getPrefix, getPrefixes
 

Method Detail

addNamespaceURI

void addNamespaceURI(String prefix,
                     String namespaceURI)
Adds a namespace URI with the given prefix to this context.

Parameters:
prefix - The namespace prefix.
namespaceURI - The namespace URI.

removeNamespaceURI

void removeNamespaceURI(String prefix)
Removes a namespace URI with the given prefix to this context.

Parameters:
prefix - The prefix of the namespace URI to remove.

Please visit Base Apps, hosted on Sourceforge.net.

Copyright 2011, Blue Agate Software Entity (BASE)