question: public byte [ ] canonSerializeToByteArray ( Node node ) throws Exception { ByteArrayOutputStream baos = new ByteArrayOutputStream ( ) ; canon . setWriter ( baos ) ; canon . notReset ( ) ; canon . canonicalizeSubtree ( node ) ; return baos . toByteArray ( ) ; }
target:  Use the Canonicalizer to serialize the node