org.apache.ws.muws
Interface Category

All Known Implementing Classes:
CategoryImpl

public interface Category

A category, as defined by part 2 of the MUWS specification.


Method Summary
 Category getGeneralization()
          Returns the next most general category in the categorization taxonomy.
 javax.xml.namespace.QName getName()
          Returns the name of this category.
 boolean hasGeneralization()
          Returns true if the category has a generalization.
 

Method Detail

getName

public javax.xml.namespace.QName getName()
Returns the name of this category.

Returns:
the name of this category

getGeneralization

public Category getGeneralization()
Returns the next most general category in the categorization taxonomy.

Returns:
the next most general category in the categorization taxonomy
Throws:
java.util.NoSuchElementException - if the category does not have any generalizations

hasGeneralization

public boolean hasGeneralization()
Returns true if the category has a generalization. (In other words, returns true if getGeneralization would return a more general category rather than throwing an exception.)

Returns:
true if the category


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.