org.coode.owlapi.obo.parser
Class Modifiers

java.lang.Object
  extended by org.coode.owlapi.obo.parser.Modifiers

public class Modifiers
extends Object

Author: Matthew Horridge
The University of Manchester
Bio-Health Informatics Group
Date: 03/02/2011


Constructor Summary
Modifiers()
           
 
Method Summary
 void addModifier(String name, String value)
          Adds a modifier
 Set<String> getModifierNames()
          Returns the names of modifiers stored in this modifier object
 Set<String> getModifierValues(String modifierName)
           
static Modifiers parseModifiers(String modifiersList)
          Parses a list of modifiers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Modifiers

public Modifiers()
Method Detail

parseModifiers

public static Modifiers parseModifiers(String modifiersList)
Parses a list of modifiers.

Parameters:
modifiersList - The string representation of a list of modifiers. The representation may or may not include the surrounding braces (braces will be ignored).
Returns:
A list of modifiers

addModifier

public void addModifier(String name,
                        String value)
Adds a modifier

Parameters:
name - The modifier name
value - The modifier value

getModifierNames

public Set<String> getModifierNames()
Returns the names of modifiers stored in this modifier object

Returns:
The names of modifiers (may be empty)

getModifierValues

public Set<String> getModifierValues(String modifierName)


Copyright © 2012 The University of Manchester. All Rights Reserved.