Hey,
If I try to use a annotation (the same like Eric's example), something
like this:
docOp.elementStart( "p", new AttributesImpl(ImmutableMap.of
(LINE_AUTHOR, fClientBackend.getUserId().getAddress())));
docOp.annotationBoundary( new AnnotationBoundaryMapImpl( [], ["style/
fontStyle"], [null], ["italic"] ) );
docOp.characters( "my text" );
docOp.annotationBoundary( new AnnotationBoundaryMapImpl( ["style/
fontStyle"], [], [], [] ) );
docOp.elementEnd();
I get a IllegalArgumentException at (WaveletOperationSerializer.java:
177).
WaveletOperationSerializer.java:
>176: @Override public void annotationBoundary(AnnotationBoundaryMap map) {
>>177: throw new IllegalArgumentException();
>178: }
Can someone tell me what I am doing wrong ?
Thanks
Tobber
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Wave
Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/wave-protocol?hl=en
-~----------~----~----~----~------~----~------~--~---