org.apache.woden.ant

## Class NamespaceWriter

- java.lang.Object
- - org.apache.woden.ant.NamespaceWriter

- Direct Known Subclasses:
    CmBaseWriter, CmExtensionsWriter, CmHttpWriter, CmRpcWriter, CmSoapWriter, CmWriter

      public abstract class NamespaceWriter
      extends 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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected XMLWriter` | `out`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NamespaceWriter(XMLWriter out, String namespace, String prefix)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getNamespace()`
    `String` | `getPrefix()`
    `void` | `write(String tag, URI uri)`
    `void` | `writeAny(String tag, 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,
                         String namespace,
                         String prefix)

  - ### Method Detail

    - #### getNamespace

          public String getNamespace()

    - #### getPrefix

          public String getPrefix()

    - #### write

          public void write(String tag,
                   URI uri)

    - #### writeAny

          public void writeAny(String tag,
                      Object o)

Copyright ? Apache Software Foundation. All Rights Reserved.