org.objectweb.jorm.naming.api

Interface PNCStringCoder

public interface PNCStringCoder

Used to encode/decode a composite name to/from a String. For the decode process, there are the typed getter methods (XXX getXXX()). It supposes that the coder knows the String representing the encoded value. For the encode process, there are the setter methods (putXXX(XXX val)) in order to add new sub values to the encoded String. After all putXXX has been done, the encoded value is retrieved using the getStringCode method.

Author:
P. D?chamboux

Method Summary

BigDecimal
getBigDecimal()
BigInteger
getBigInteger()
byte
getByte()
byte[]
getByteArray()
char
getChar()
char[]
getCharArray()
Date
getDate()
int
getInt()
long
getLong()
Byte
getObyte()
Character
getOchar()
Integer
getOint()
Long
getOlong()
Short
getOshort()
short
getShort()
String
getString()
String
getStringCode()
void
putBigDecimal(BigDecimal val)
void
putBigInteger(BigInteger val)
void
putByte(byte val)
void
putByteArray(byte[] val)
void
putChar(char val)
void
putCharArray(char[] val)
void
putDate(Date val)
void
putInt(int val)
void
putLong(long val)
void
putObyte(Byte val)
void
putOchar(Character val)
void
putOint(Integer val)
void
putOlong(Long val)
void
putOshort(Short val)
void
putShort(short val)
void
putString(String val)

Method Details

getBigDecimal

public BigDecimal getBigDecimal()
            throws PExceptionNameCoding


getBigInteger

public BigInteger getBigInteger()
            throws PExceptionNameCoding


getByte

public byte getByte()
            throws PExceptionNameCoding


getByteArray

public byte[] getByteArray()
            throws PExceptionNameCoding


getChar

public char getChar()
            throws PExceptionNameCoding


getCharArray

public char[] getCharArray()
            throws PExceptionNameCoding


getDate

public Date getDate()
            throws PExceptionNameCoding


getInt

public int getInt()
            throws PExceptionNameCoding


getLong

public long getLong()
            throws PExceptionNameCoding


getObyte

public Byte getObyte()
            throws PExceptionNameCoding


getOchar

public Character getOchar()
            throws PExceptionNameCoding


getOint

public Integer getOint()
            throws PExceptionNameCoding


getOlong

public Long getOlong()
            throws PExceptionNameCoding


getOshort

public Short getOshort()
            throws PExceptionNameCoding


getShort

public short getShort()
            throws PExceptionNameCoding


getString

public String getString()
            throws PExceptionNameCoding


getStringCode

public String getStringCode()
            throws PExceptionNameCoding


putBigDecimal

public void putBigDecimal(BigDecimal val)
            throws PExceptionNameCoding


putBigInteger

public void putBigInteger(BigInteger val)
            throws PExceptionNameCoding


putByte

public void putByte(byte val)
            throws PExceptionNameCoding


putByteArray

public void putByteArray(byte[] val)
            throws PExceptionNameCoding


putChar

public void putChar(char val)
            throws PExceptionNameCoding


putCharArray

public void putCharArray(char[] val)
            throws PExceptionNameCoding


putDate

public void putDate(Date val)
            throws PExceptionNameCoding


putInt

public void putInt(int val)
            throws PExceptionNameCoding


putLong

public void putLong(long val)
            throws PExceptionNameCoding


putObyte

public void putObyte(Byte val)
            throws PExceptionNameCoding


putOchar

public void putOchar(Character val)
            throws PExceptionNameCoding


putOint

public void putOint(Integer val)
            throws PExceptionNameCoding


putOlong

public void putOlong(Long val)
            throws PExceptionNameCoding


putOshort

public void putOshort(Short val)
            throws PExceptionNameCoding


putShort

public void putShort(short val)
            throws PExceptionNameCoding


putString

public void putString(String val)
            throws PExceptionNameCoding