|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface modeling a ContactMarshaller.
Method Summary | |
boolean |
isStrict()
Tests if this ContactUnmarshaller flag for strict mode is set. |
void |
setEncoding(java.lang.String enc)
Sets the encoding used by this ContactUnmarshaller. |
void |
setStrict(boolean b)
Sets the strict flag for the unmarshalling mechanism. |
Contact |
unmarshallContact(java.io.InputStream in)
Unmarshalls a contact from the given InpuStream. |
Contact[] |
unmarshallContacts(java.io.InputStream in)
Unmarshalls a group of contacts from the given InputStream. |
Method Detail |
public void setEncoding(java.lang.String enc)
enc
- the encoding as String.public Contact unmarshallContact(java.io.InputStream in)
in
- the InputStream to read from.public Contact[] unmarshallContacts(java.io.InputStream in)
in
- the InputStream to read from.public void setStrict(boolean b)
If this flag is set, then the unmarshalling should fail for input data that does not comply to the specfication. If it is not set, then the implementation should make efforts to recover at least all parts that comply to the standard.
Note that the default setting for this flag is supposed to be true.
b
- true for setting the flag, false otherwise.public boolean isStrict()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |