|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttv.amwa.maj.argument.SearchCriteria
tv.amwa.maj.argument.SearchByName
public class SearchByName
Implementation of a search criteria for matching mobs defined by mob name.
Mob.getName()
,
Serialized FormConstructor Summary | |
---|---|
SearchByName(String name)
Create a search criteria defined by the given mob name. |
Method Summary | |
---|---|
SearchByName |
clone()
|
boolean |
equals(Object o)
|
String |
getName()
Returns the name that defines the search criteria. |
int |
hashCode()
|
void |
setName(String name)
Sets the name the defines the search criteria. |
String |
toString()
Create a pseudo-XML representation of this search criteria defined by mob name. |
Methods inherited from class tv.amwa.maj.argument.SearchCriteria |
---|
getSearchTag |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.union.SearchCriteria |
---|
getSearchTag |
Constructor Detail |
---|
public SearchByName(String name) throws NullPointerException
Create a search criteria defined by the given mob name.
name
- Mob name defining the new search criteria.
NullPointerException
- The given name value is null
.Method Detail |
---|
public String getName()
SearchByName
Returns the name that defines the search criteria.
getName
in interface SearchByName
public void setName(String name) throws NullPointerException
SearchByName
Sets the name the defines the search criteria.
setName
in interface SearchByName
name
- Name defining the search criteria.
NullPointerException
- The given name is null
.public boolean equals(Object o)
equals
in class Object
public String toString()
Create a pseudo-XML representation of this search criteria defined by mob name. No XML schema or DTD defines this element. For example:
<SearchByName name="Watchdog series 27 episode 3"/>
toString
in class Object
public SearchByName 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 |