Extensions (Alignment API and Server)
Date: 2010-03-31

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Alignment API and Server 4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## fr.inrialpes.exmo.align.impl
Class Extensions

    java.lang.Object
      fr.inrialpes.exmo.align.impl.Extensions

    public class Extensions

extends Object

This contains the metadata extensions They are indexed by namespace + local name. Unfortunatelly there is no way to deal with this in a simple hastable with a pair as key. So it is implemented the old way with concatenation... unfortunately

Field Summary
`private Hashtable<String,String[]>` | `table`

Constructor Summary
`Extensions()`
`Extensions(Hashtable<String,String[]> ht)`

Method Summary
`Object` | `clone()`
`String` | `getExtension(String ns, String label)`
`String[]` | `getExtensionCell(String ns, String label)`
`Collection<String[]>` | `getValues()`
`Set` | `keySet()`
`void` | `setExtension(String ns, String label, String value)`
`void` | `unsetExtension(String ns, String label)`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### table

    private Hashtable<String,String[]> table

Constructor Detail

### Extensions

    public Extensions()

### Extensions

    public Extensions(Hashtable<String,String[]> ht)

Method Detail

### setExtension

    public void setExtension(String ns,
                             String label,
                             String value)

### unsetExtension

    public void unsetExtension(String ns,
                               String label)

### getExtension

    public String getExtension(String ns,
                               String label)

### getExtensionCell

    public String[] getExtensionCell(String ns,
                                     String label)

### keySet

    public Set keySet()

### getValues

    public Collection<String[]> getValues()

### clone

    public Object clone()

  Overrides:
    `clone` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Alignment API and Server 4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

(C) INRIA & friends, 2003-2010