|
|||||||||
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 APIs. 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 | |
---|---|
void |
addComment(java.lang.String value)
Add an XML comment to this Base |
java.lang.Object |
clone()
Clone this Base |
Factory |
getFactory()
Get the Factory used to create this Base |
void |
writeTo(java.io.OutputStream out)
Serializes the model component out to the specified stream |
void |
writeTo(java.io.Writer writer)
Serializes the model component out to the specified writer |
Method Detail |
---|
void writeTo(java.io.OutputStream out) throws java.io.IOException
out
- The java.io.OutputStream to use when serializing the Base. The charset encoding specified for the document will be used
java.io.IOException
void writeTo(java.io.Writer writer) throws java.io.IOException
writer
- The java.io.Writer to use when serializing the Base
java.io.IOException
java.lang.Object clone()
Factory getFactory()
void addComment(java.lang.String value)
value
- The text value of the comment
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |