org.apache.woden.ant
Class NamespaceWriter

java.lang.Object
  extended by org.apache.woden.ant.NamespaceWriter
Direct Known Subclasses:
CmBaseWriter, CmExtensionsWriter, CmHttpWriter, CmRpcWriter, CmSoapWriter, CmWriter

public abstract class NamespaceWriter
extends java.lang.Object

This is the abstract base class for classes that write elements and types from an XML namespace;

Author:
Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com)

Field Summary
protected  XMLWriter out
           
 
Constructor Summary
NamespaceWriter(XMLWriter out, java.lang.String namespace, java.lang.String prefix)
           
 
Method Summary
 java.lang.String getNamespace()
           
 java.lang.String getPrefix()
           
 void write(java.lang.String tag, java.net.URI uri)
           
 void writeAny(java.lang.String tag, java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

protected XMLWriter out
Constructor Detail

NamespaceWriter

public NamespaceWriter(XMLWriter out,
                       java.lang.String namespace,
                       java.lang.String prefix)
Method Detail

getNamespace

public java.lang.String getNamespace()

getPrefix

public java.lang.String getPrefix()

write

public void write(java.lang.String tag,
                  java.net.URI uri)

writeAny

public void writeAny(java.lang.String tag,
                     java.lang.Object o)


Copyright © 2007. All Rights Reserved.