org.apache.commons.betwixt.io
Class WriteContext
java.lang.Object
org.apache.commons.betwixt.io.WriteContext
public abstract class WriteContext
- extends Object
Context against which content should be written.
Usage:
This (logical) interface is a Parameter Object
allowing additional, Betwixt
-specific information
to be passed through the SAX-inspired writing API.
It is likely that access will be required to methods in the
Context
used by the AbstractBeanWriter
but it seems better to add these as neccessary using delegation
rather than extending Context
.
- Since:
- 0.5
- Author:
- Apache Commons Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriteContext
public WriteContext()
getCurrentDescriptor
public abstract ElementDescriptor getCurrentDescriptor()
- Gets the descriptor for the element who content
is currently being created.
- Returns:
- the
ElementDescriptor
for the
current element (or null if there is no current element)
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.