protected org.w3c.dom.Node helperContentDispatcher(
			final FormatStack fstack, final NamespaceStack nstack,
			final org.w3c.dom.Document basedoc, final Content content) {
		switch (content.getCType()) {
			case CDATA:
				return printCDATA(fstack, basedoc, (CDATA) content);
			case Comment:
				return printComment(fstack, basedoc, (Comment) content);
			case Element:
				return printElement(fstack, nstack, basedoc, (Element) content);
			case EntityRef:
				return printEntityRef(fstack, basedoc, (EntityRef) content);
			case ProcessingInstruction:
				return printProcessingInstruction(fstack, basedoc,
						(ProcessingInstruction) content);
			case Text:
				return printText(fstack, basedoc, (Text) content);
			case DocType:
				return null;
			default:
				throw new IllegalStateException("Unexpected Content "
						+ content.getCType());
		}
	}