org.apache.commons.jelly.tags.xml
Class ReplaceNamespaceTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.xml.ReplaceNamespaceTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class ReplaceNamespaceTag
extends org.apache.commons.jelly.TagSupport

Replace namespace is a filter to change the namespace of any elemement attribute passing through it.

Author:
Diogo Quintela

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ReplaceNamespaceTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 java.lang.String getFromURI()
           
 java.lang.String getToURI()
           
 void setFromURI(java.lang.String namespace)
          Sets the source namespace URI to replace.
 void setToURI(java.lang.String namespace)
          Sets the destination namespace URI to replace.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplaceNamespaceTag

public ReplaceNamespaceTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException

getFromURI

public java.lang.String getFromURI()
Returns:
the source namespace URI to replace

setFromURI

public void setFromURI(java.lang.String namespace)
Sets the source namespace URI to replace.


getToURI

public java.lang.String getToURI()
Returns:
the destination namespace URI to replace

setToURI

public void setToURI(java.lang.String namespace)
Sets the destination namespace URI to replace.



Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.