Lines Matching refs:ser
481 XMLSerializer ser = null;
500 ser = xml11Serializer;
502 ser = serializer;
507 prepareForSerialization(ser, wnode);
508 ser._format.setEncoding("UTF-16");
509 ser.setOutputCharStream(destination);
511 ser.serialize((Document)wnode);
514 ser.serialize((DocumentFragment)wnode);
517 ser.serialize((Element)wnode);
524 ser.serialize(wnode);
530 if (ser.fDOMErrorHandler != null) {
535 ser.fDOMErrorHandler.handleError(error);
638 private void initSerializer(XMLSerializer ser) {
639 ser.fNSBinder = new NamespaceSupport();
640 ser.fLocalNSBinder = new NamespaceSupport();
641 ser.fSymbolTable = new SymbolTable();
692 XMLSerializer ser = null;
715 ser = xml11Serializer;
717 ser = serializer;
747 prepareForSerialization(ser, node);
748 ser._format.setEncoding(encoding);
758 if (ser.fDOMErrorHandler != null) {
763 ser.fDOMErrorHandler.handleError(error);
794 ser.setOutputByteStream(out);
799 ser.setOutputByteStream(outputStream);
804 ser.setOutputCharStream(writer);
808 ser.serialize((Document) node);
810 ser.serialize((DocumentFragment) node);
812 ser.serialize((Element) node);
818 ser.serialize(node);
823 if (ser.fDOMErrorHandler != null) {
829 ser.fDOMErrorHandler.handleError(error);
846 if (ser.fDOMErrorHandler != null) {
851 ser.fDOMErrorHandler.handleError(error);
892 XMLSerializer ser = null;
917 ser = xml11Serializer;
919 ser = serializer;
947 prepareForSerialization(ser, node);
948 ser._format.setEncoding(encoding);
976 ser.setOutputByteStream(out);
979 ser.serialize((Document) node);
981 ser.serialize((DocumentFragment) node);
983 ser.serialize((Element) node);
989 ser.serialize(node);
1003 if (ser.fDOMErrorHandler != null) {
1008 ser.fDOMErrorHandler.handleError(error);
1020 private void prepareForSerialization(XMLSerializer ser, Node node) {
1021 ser.reset();
1022 ser.features = features;
1023 ser.fDOMErrorHandler = fErrorHandler;
1024 ser.fNamespaces = (features & NAMESPACES) != 0;
1025 ser.fNamespacePrefixes = (features & NSDECL) != 0;
1026 ser._format.setOmitComments((features & COMMENTS)==0);
1027 ser._format.setOmitXMLDeclaration((features & XMLDECL) == 0);
1028 ser._format.setIndenting((features & FORMAT_PRETTY_PRINT) != 0);