How a Tag or Markup Interface works?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rakesh_Ranjan
Posted On:   Friday, September 17, 2004 03:26 AM

How a Tag or Markup Interface works?

Re: How a Tag or Markup Interface works?

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, October 2, 2004 08:28 AM


interface OneOfOurs {

}

// ....
class ThisObject implements OneOfOurs {

}

// ....
ThisObject thisObject = new ThisObject();

// ...

if (thisObject instanceof OneOfOurs) {
//do something;
} else {
logger.error("Not one of ours.");
}
About | Sitemap | Contact