|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tv.amwa.maj.argument.DefinitionCriteria tv.amwa.maj.argument.DefinitionCriteriaByKind
public class DefinitionCriteriaByKind
Implementation of a criteria for matching a definition determined by its kind, such as data definition, property definition etc..
DefinitionObject
,
Serialized FormConstructor Summary | |
---|---|
DefinitionCriteriaByKind(DefinitionKind definitionKind)
Create a definition criteria with the given kind of definition to match. |
Method Summary | |
---|---|
DefinitionCriteriaByKind |
clone()
|
boolean |
equals(Object o)
|
DefinitionKind |
getKind()
Returns the definition kind for this definition criteria. |
int |
hashCode()
|
void |
setKind(DefinitionKind kind)
Sets the definition kind for this definition criteria. |
String |
toString()
Creates a pseudo-XML representation of this definition criteria. |
Methods inherited from class tv.amwa.maj.argument.DefinitionCriteria |
---|
getDefinitionType |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.union.DefinitionCriteria |
---|
getDefinitionType |
Constructor Detail |
---|
public DefinitionCriteriaByKind(DefinitionKind definitionKind) throws NullPointerException
Create a definition criteria with the given kind of definition to match.
definitionKind
- Kind of definition criteria.
NullPointerException
Method Detail |
---|
public DefinitionKind getKind()
DefinitionCriteriaByKind
Returns the definition kind for this definition criteria.
getKind
in interface DefinitionCriteriaByKind
public void setKind(DefinitionKind kind) throws NullPointerException
DefinitionCriteriaByKind
Sets the definition kind for this definition criteria.
setKind
in interface DefinitionCriteriaByKind
kind
- Definition kind for this definition criteria.
NullPointerException
- The definition kind is null
.public boolean equals(Object o)
equals
in class Object
public String toString()
Creates a pseudo-XML representation of this definition criteria. No XML schema or DTD is defined. For example:
<DefinitionCriteria kind="PropertyDefinition"/>
toString
in class Object
public DefinitionCriteriaByKind clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public int hashCode()
hashCode
in class Object
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |