Package org.apache.abdera.model
Interface Base
-
- All Superinterfaces:
java.lang.Cloneable
- All Known Subinterfaces:
Categories
,Category
,Collection
,Content
,Control
,DateTime
,Div
,Document<T>
,Element
,Entry
,ExtensibleElement
,Feed
,Generator
,IRIElement
,Link
,Person
,Service
,Source
,Text
,Workspace
- All Known Implementing Classes:
DateTimeWrapper
,ElementWrapper
,ExtensibleElementWrapper
,MediaAdult
,MediaCategory
,MediaContent
,MediaCopyright
,MediaCredit
,MediaDescription
,MediaGroup
,MediaHash
,MediaKeywords
,MediaPlayer
,MediaRating
,MediaRestriction
,MediaText
,MediaThumbnail
,MediaTitle
,PersonWrapper
@Deprecated(since="2021-07-29") public interface Base extends java.lang.Cloneable
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T extends Base>
TaddComment(java.lang.String value)
Deprecated.Add an XML comment to this Basejava.lang.Object
clone()
Deprecated.Clone this Base<T extends Base>
Tcomplete()
Deprecated.Ensure that the underlying streams are fully parsed.WriterOptions
getDefaultWriterOptions()
Deprecated.Get the default WriterOptions for this objectFactory
getFactory()
Deprecated.Get the Factory used to create this Basevoid
writeTo(java.io.OutputStream out)
Deprecated.Serializes the model component out to the specified streamvoid
writeTo(java.io.OutputStream out, WriterOptions options)
Deprecated.Serializes the model component out to the specified streamvoid
writeTo(java.io.Writer writer)
Deprecated.Serializes the model component out to the specified writervoid
writeTo(java.io.Writer out, WriterOptions options)
Deprecated.Serializes the model component out to the specified java.io.Writervoid
writeTo(java.lang.String writer, java.io.OutputStream out)
Deprecated.Serializes the model component out to the specified stream using the given Abdera writervoid
writeTo(java.lang.String writer, java.io.OutputStream out, WriterOptions options)
Deprecated.Serializes the model component out to the specified stream using the given abdera writervoid
writeTo(java.lang.String writer, java.io.Writer out)
Deprecated.Serializes the model component out to the specified java.io.Writer using the given Abdera writervoid
writeTo(java.lang.String writer, java.io.Writer out, WriterOptions options)
Deprecated.Serializes the model component out to the specified java.io.Writer using the given abdera writervoid
writeTo(Writer writer, java.io.OutputStream out)
Deprecated.Serializes the model component out to the specified stream using the given Abdera writervoid
writeTo(Writer writer, java.io.OutputStream out, WriterOptions options)
Deprecated.Serializes the model component out to the specified stream using the given abdera writervoid
writeTo(Writer writer, java.io.Writer out)
Deprecated.Serializes the model component out to the specified java.io.Writer using the given Abdera writervoid
writeTo(Writer writer, java.io.Writer out, WriterOptions options)
Deprecated.Serializes the model component out to the specified java.io.Writer using the given abdera writer
-
-
-
Method Detail
-
getDefaultWriterOptions
WriterOptions getDefaultWriterOptions()
Deprecated.Get the default WriterOptions for this object
-
writeTo
void writeTo(java.io.OutputStream out, WriterOptions options) throws java.io.IOException
Deprecated.Serializes the model component out to the specified stream- Parameters:
out
- The target output streamoptions
- The WriterOptions to use- Throws:
java.io.IOException
-
writeTo
void writeTo(java.io.Writer out, WriterOptions options) throws java.io.IOException
Deprecated.Serializes the model component out to the specified java.io.Writer- Parameters:
out
- The target output writeroptions
- The WriterOptions to use- Throws:
java.io.IOException
-
writeTo
void writeTo(Writer writer, java.io.OutputStream out) throws java.io.IOException
Deprecated.Serializes the model component out to the specified stream using the given Abdera writer- Parameters:
writer
- The Abdera writer to useout
- The target output stream- Throws:
java.io.IOException
-
writeTo
void writeTo(Writer writer, java.io.Writer out) throws java.io.IOException
Deprecated.Serializes the model component out to the specified java.io.Writer using the given Abdera writer- Parameters:
writer
- The Abdera writer to useout
- The target output writer- Throws:
java.io.IOException
-
writeTo
void writeTo(java.lang.String writer, java.io.OutputStream out) throws java.io.IOException
Deprecated.Serializes the model component out to the specified stream using the given Abdera writer- Parameters:
writer
- The Abdera writer to useout
- The target output stream- Throws:
java.io.IOException
-
writeTo
void writeTo(java.lang.String writer, java.io.Writer out) throws java.io.IOException
Deprecated.Serializes the model component out to the specified java.io.Writer using the given Abdera writer- Parameters:
writer
- The Abdera writer to useout
- The target output writer- Throws:
java.io.IOException
-
writeTo
void writeTo(Writer writer, java.io.OutputStream out, WriterOptions options) throws java.io.IOException
Deprecated.Serializes the model component out to the specified stream using the given abdera writer- Parameters:
writer
- The Abdera writer to useout
- The target output streamoptions
- The WriterOptions to use- Throws:
java.io.IOException
-
writeTo
void writeTo(Writer writer, java.io.Writer out, WriterOptions options) throws java.io.IOException
Deprecated.Serializes the model component out to the specified java.io.Writer using the given abdera writer- Parameters:
writer
- The Abdera writer to useout
- The target output writeroptions
- The WriterOptions to use- Throws:
java.io.IOException
-
writeTo
void writeTo(java.lang.String writer, java.io.OutputStream out, WriterOptions options) throws java.io.IOException
Deprecated.Serializes the model component out to the specified stream using the given abdera writer- Parameters:
writer
- The name of the Abdera writer to useout
- The target output streamoptions
- The WriterOptions to use- Throws:
java.io.IOException
-
writeTo
void writeTo(java.lang.String writer, java.io.Writer out, WriterOptions options) throws java.io.IOException
Deprecated.Serializes the model component out to the specified java.io.Writer using the given abdera writer- Parameters:
writer
- The name of the Abdera writer to useout
- The target output writeroptions
- The WriterOptions to use- Throws:
java.io.IOException
-
writeTo
void writeTo(java.io.OutputStream out) throws java.io.IOException
Deprecated.Serializes the model component out to the specified stream- Parameters:
out
- The java.io.OutputStream to use when serializing the Base. The charset encoding specified for the document will be used- Throws:
java.io.IOException
-
writeTo
void writeTo(java.io.Writer writer) throws java.io.IOException
Deprecated.Serializes the model component out to the specified writer- Parameters:
writer
- The java.io.Writer to use when serializing the Base- Throws:
java.io.IOException
-
clone
java.lang.Object clone()
Deprecated.Clone this Base
-
getFactory
Factory getFactory()
Deprecated.Get the Factory used to create this Base- Returns:
- The Factory used to create this object
-
addComment
<T extends Base> T addComment(java.lang.String value)
Deprecated.Add an XML comment to this Base- Parameters:
value
- The text value of the comment
-
complete
<T extends Base> T complete()
Deprecated.Ensure that the underlying streams are fully parsed. Calling complete on an Element does not necessarily mean that the underlying stream is fully consumed, only that that particular element has been completely parsed.
-
-