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
getByte
public byte getByte()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getObyte
public java.lang.Byte getObyte()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getChar
public char getChar()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getOchar
public java.lang.Character getOchar()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getShort
public short getShort()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getOshort
public java.lang.Short getOshort()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getInt
public int getInt()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getOint
public java.lang.Integer getOint()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getLong
public long getLong()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getOlong
public java.lang.Long getOlong()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getString
public java.lang.String getString()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getDate
public java.util.Date getDate()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getBigInteger
public java.math.BigInteger getBigInteger()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getBigDecimal
public java.math.BigDecimal getBigDecimal()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getByteArray
public byte[] getByteArray()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getCharArray
public char[] getCharArray()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putByte
public void putByte(byte val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putObyte
public void putObyte(java.lang.Byte val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putChar
public void putChar(char val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putOchar
public void putOchar(java.lang.Character val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putShort
public void putShort(short val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putOshort
public void putOshort(java.lang.Short val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putInt
public void putInt(int val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putOint
public void putOint(java.lang.Integer val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putLong
public void putLong(long val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putOlong
public void putOlong(java.lang.Long val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putString
public void putString(java.lang.String val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putDate
public void putDate(java.util.Date val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putBigInteger
public void putBigInteger(java.math.BigInteger val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putBigDecimal
public void putBigDecimal(java.math.BigDecimal val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putByteArray
public void putByteArray(byte[] val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
putCharArray
public void putCharArray(char[] val)
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding
getStringCode
public java.lang.String getStringCode()
throws PExceptionNameCoding
- Throws:
PExceptionNameCoding