XBRLAPI

A Java API for XBRL


org.xbrlapi.impl
Class MeasureImpl

java.lang.Object
  extended by org.xbrlapi.impl.MeasureImpl
All Implemented Interfaces:
Serializable, Comparable<Measure>, Measure

public class MeasureImpl
extends Object
implements Measure

Author:
Geoffrey Shuetrim (geoff@galexy.net)
See Also:
Serialized Form

Constructor Summary
MeasureImpl(URI namespace, String prefix, String localname)
           
 
Method Summary
 int compareTo(Measure other)
           
 String getLocalname()
           
 URI getNamespace()
           
 String getPrefix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasureImpl

public MeasureImpl(URI namespace,
                   String prefix,
                   String localname)
            throws XBRLException
Throws:
XBRLException
Method Detail

getLocalname

public String getLocalname()
Specified by:
getLocalname in interface Measure
Returns:
the local name for the measure value.
See Also:
Measure.getLocalname()

getPrefix

public String getPrefix()
Specified by:
getPrefix in interface Measure
Returns:
the QName prefix for the measure value.
See Also:
Measure.getPrefix()

getNamespace

public URI getNamespace()
Specified by:
getNamespace in interface Measure
Returns:
the namespace for the measure value.
See Also:
Measure.getNamespace()

compareTo

public int compareTo(Measure other)
Specified by:
compareTo in interface Comparable<Measure>
See Also:
Comparable.compareTo(Object)

Get Java XBRL API implementation at SourceForge.net.