void function ( Document arg0 , IFile arg1 ) { XmlUtil . prettyFormat ( arg0 ) ; InputStream loc0 = new ByteArrayInputStream ( toByteArray ( arg0 ) ) ; if ( arg1 . exists ( ) ) { arg1 . setContents ( loc0 , IResource . FORCE , null ) ; } else { arg1 . create ( loc0 , IResource . FORCE , null ) ; } }
serialize xml document into a workspace file . note : clients should synchronize access to this method . concode_field_sep String EOL_XML concode_elem_sep String DEFAULT_IDENT concode_field_sep String determineAttributeValue concode_elem_sep Document loadXml concode_elem_sep Document loadXml concode_elem_sep Document loadXml concode_elem_sep void prettyFormat concode_elem_sep void prettyFormat concode_elem_sep void prettyFormat concode_elem_sep byte[] toByteArray concode_elem_sep String toString concode_elem_sep Element appendElement concode_elem_sep Element appendElement concode_elem_sep String determineNodeValue concode_elem_sep Document newDocument