EXIficient

com.siemens.ct.exi.datatype
Class NBitLongDatatype

java.lang.Object
  extended by com.siemens.ct.exi.datatype.AbstractDatatype
      extended by com.siemens.ct.exi.datatype.NBitLongDatatype
All Implemented Interfaces:
Datatype

public class NBitLongDatatype
extends AbstractDatatype

TODO Description

Version:
0.4.20081111
Author:
Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com

Constructor Summary
NBitLongDatatype(javax.xml.namespace.QName datatypeIdentifier, long lowerBound, long upperBound, int boundedRange)
           
 
Method Summary
 long getLowerBound()
           
 int getNumberOfBits()
           
 long getUpperBound()
           
 boolean isValid(java.lang.String value)
           
 Value readValue(DecoderChannel valueChannel, StringDecoder stringDecoder, javax.xml.namespace.QName context)
           
 void writeValue(EncoderChannel valueChannel, StringEncoder stringEncoder, javax.xml.namespace.QName context)
           
 
Methods inherited from class com.siemens.ct.exi.datatype.AbstractDatatype
equals, getDatatypeIdentifier, getDefaultBuiltInType, getRestrictedCharacterSet, hashCode, isValidRCS, readValueRCS, toString, writeValueRCS
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NBitLongDatatype

public NBitLongDatatype(javax.xml.namespace.QName datatypeIdentifier,
                        long lowerBound,
                        long upperBound,
                        int boundedRange)
Method Detail

getLowerBound

public long getLowerBound()

getUpperBound

public long getUpperBound()

getNumberOfBits

public int getNumberOfBits()

isValid

public boolean isValid(java.lang.String value)

writeValue

public void writeValue(EncoderChannel valueChannel,
                       StringEncoder stringEncoder,
                       javax.xml.namespace.QName context)
                throws java.io.IOException
Throws:
java.io.IOException

readValue

public Value readValue(DecoderChannel valueChannel,
                       StringDecoder stringDecoder,
                       javax.xml.namespace.QName context)
                throws java.io.IOException
Throws:
java.io.IOException

EXIficient