|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object comirva.audio.feature.Attribute
public abstract class Attribute
Attribute
Description:
AnAttribute
is an abstract concept strongly related to another
object, which one can attributed with an Attribute
object.
One can think about the attributed object to be some kind of a container,
which represents a real world object, that one can describe closer simply by
putting Attribute
objects in the container. In latter the
attributed object is simply called container>.Attribute
. This is extremely useful, if possible attributes of
a container are unknown at the current development stage.AttributeExtractor
an
Attribute
object gets a further semantics. An
Attribute
describes a container, and the description can be
obtained automatically by an extraction process. The type of
information needed to obtain an attribute depends on the attribute extraction
process and therefore can vary from attribute to attribute.
So if one has a large number of containers, a batch job for extracting
attributes is a good idea. This takes us to the concept of a
AttributeExtractionThread
.Attributes
may implement the
XMLSerializable
interface, such that it is easy for a container
to make attributes persistent.
AttributeExtractor
,
XMLSerializable
,
AudioFeatureExtractionThread
,
Serialized FormConstructor Summary | |
---|---|
protected |
Attribute()
Constructor of an attribute. |
Method Summary | |
---|---|
String |
getClassName()
Returns the full qualified class name of an attribute. |
int |
getType()
Returns an unique integer value for each subclass of attribute. |
static Attribute |
readAttribute(XMLStreamReader parser)
Supports reading Attribute objects from a xml input stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Attribute()
Method Detail |
---|
public final int getType()
public final String getClassName()
public static Attribute readAttribute(XMLStreamReader parser) throws IOException, XMLStreamException
Attribute
objects from a xml input stream.
parser
- XMLStreamReader the xml input stream
IOException
- raised, if there are any io troubles
XMLStreamException
- raised, if there are any parsing errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |