|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Base
The Base interface provides the basis for the Feed Object Model API and defines the operations common to both the Element and Document interfaces. Classes implementing Base MUST NOT be assumed to be thread safe. Developers wishing to allow multiple threads to perform concurrent modifications to a Base MUST provide their own synchronization.
Method Summary | ||
---|---|---|
|
addComment(String value)
Add an XML comment to this Base |
|
Object |
clone()
Clone this Base |
|
|
complete()
Ensure that the underlying streams are fully parsed. |
|
WriterOptions |
getDefaultWriterOptions()
Get the default WriterOptions for this object |
|
Factory |
getFactory()
Get the Factory used to create this Base |
|
void |
writeTo(OutputStream out)
Serializes the model component out to the specified stream |
|
void |
writeTo(OutputStream out,
WriterOptions options)
Serializes the model component out to the specified stream |
|
void |
writeTo(String writer,
OutputStream out)
Serializes the model component out to the specified stream using the given Abdera writer |
|
void |
writeTo(String writer,
OutputStream out,
WriterOptions options)
Serializes the model component out to the specified stream using the given abdera writer |
|
void |
writeTo(String writer,
Writer out)
Serializes the model component out to the specified java.io.Writer using the given Abdera writer |
|
void |
writeTo(String writer,
Writer out,
WriterOptions options)
Serializes the model component out to the specified java.io.Writer using the given abdera writer |
|
void |
writeTo(Writer writer)
Serializes the model component out to the specified writer |
|
void |
writeTo(Writer writer,
OutputStream out)
Serializes the model component out to the specified stream using the given Abdera writer |
|
void |
writeTo(Writer writer,
OutputStream out,
WriterOptions options)
Serializes the model component out to the specified stream using the given abdera writer |
|
void |
writeTo(Writer writer,
Writer out)
Serializes the model component out to the specified java.io.Writer using the given Abdera writer |
|
void |
writeTo(Writer out,
WriterOptions options)
Serializes the model component out to the specified java.io.Writer |
|
void |
writeTo(Writer writer,
Writer out,
WriterOptions options)
Serializes the model component out to the specified java.io.Writer using the given abdera writer |
Method Detail |
---|
WriterOptions getDefaultWriterOptions()
void writeTo(OutputStream out, WriterOptions options) throws IOException
out
- The target output streamoptions
- The WriterOptions to use
IOException
void writeTo(Writer out, WriterOptions options) throws IOException
out
- The target output writeroptions
- The WriterOptions to use
IOException
void writeTo(Writer writer, OutputStream out) throws IOException
writer
- The Abdera writer to useout
- The target output stream
IOException
void writeTo(Writer writer, Writer out) throws IOException
writer
- The Abdera writer to useout
- The target output writer
IOException
void writeTo(String writer, OutputStream out) throws IOException
writer
- The Abdera writer to useout
- The target output stream
IOException
void writeTo(String writer, Writer out) throws IOException
writer
- The Abdera writer to useout
- The target output writer
IOException
void writeTo(Writer writer, OutputStream out, WriterOptions options) throws IOException
writer
- The Abdera writer to useout
- The target output streamoptions
- The WriterOptions to use
IOException
void writeTo(Writer writer, Writer out, WriterOptions options) throws IOException
writer
- The Abdera writer to useout
- The target output writeroptions
- The WriterOptions to use
IOException
void writeTo(String writer, OutputStream out, WriterOptions options) throws IOException
writer
- The name of the Abdera writer to useout
- The target output streamoptions
- The WriterOptions to use
IOException
void writeTo(String writer, Writer out, WriterOptions options) throws IOException
writer
- The name of the Abdera writer to useout
- The target output writeroptions
- The WriterOptions to use
IOException
void writeTo(OutputStream out) throws IOException
out
- The java.io.OutputStream to use when serializing the Base. The charset encoding specified for the
document will be used
IOException
void writeTo(Writer writer) throws IOException
writer
- The java.io.Writer to use when serializing the Base
IOException
Object clone()
Factory getFactory()
<T extends Base> T addComment(String value)
value
- The text value of the comment<T extends Base> T complete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |