Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.xml.txw2
Interface DatatypeWriter<DT>

    public interface DatatypeWriter<DT>

Pluggable datatype writer.

Author:
  Kohsuke Kawaguchi

Field Summary
`static DatatypeWriter<?>[]` | `BUILDIN`

Method Summary
`java.lang.Class<DT>` | `getType()` Gets the Java class that this writer can write.
`void` | `print(DT dt, NamespaceResolver resolver, java.lang.StringBuilder buf)` Prints the given datatype object and appends that result into the given buffer.

Field Detail

### BUILDIN

    static final DatatypeWriter<?>[] BUILDIN

Method Detail

### getType

    java.lang.Class<DT> getType()

  Gets the Java class that this writer can write.

  Returns:
    must not be null. Must be the same value always.

### print

    void print(DT dt,
               NamespaceResolver resolver,
               java.lang.StringBuilder buf)

  Prints the given datatype object and appends that result into the given buffer.

  Parameters:
    `dt` - the datatype object to be printed.
    `resolver` - allows the converter to declare additional namespace prefixes.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD